using UnityEngine; namespace Enemies.States { public class DieState:IState { private Enemy context; public DieState(Enemy context) { this.context = context; } public void Enter() { throw new System.NotImplementedException(); } public void Execute() { Object.Destroy(context.gameObject); } public void Exit() { throw new System.NotImplementedException(); } } }