예제 #1
0
 public virtual void ChangeState(AbstractEnemyState newState)
 {
     CurrentEnemyState = newState;
 }
예제 #2
0
 public void Enter(AbstractEnemyState state)
 {
     Enemy.CurrentEnemyState = state;
     Enemy.Acceleration      = state.stateAccel;
     Enemy.Animation         = state.Animation;
 }