Пример #1
0
 public ActiveEnemyState(EnemyStateMachine sm, EnemyEntity enemy)
     : base(sm, enemy)
 {
 }
 public InactiveGoombaState(GoombaStateMachine sm, EnemyEntity enemy)
     : base(sm, enemy)
 {
     Animation = new GoombaDead();
 }
 public SpinningShellState(GKoopaStateMachine sm, EnemyEntity enemy)
     : base(sm, enemy)
 {
     Animation = new SpinningGreenShell();
 }
Пример #4
0
 public EnemyStateMachine(EnemyEntity enemy)
 {
 }
Пример #5
0
 public DeadEnemyState(EnemyStateMachine sm, EnemyEntity enemy)
     : base(sm, enemy)
 {
 }
 public ActiveGKoopaState(GKoopaStateMachine sm, EnemyEntity enemy)
     : base(sm, enemy)
 {
     Animation = new GreenKoopaWalking();
 }
Пример #7
0
 protected AbstractEnemyState(EnemyStateMachine sm, EnemyEntity enemyEnt)
 {
     StateMachine = sm;
     Enemy        = enemyEnt;
 }
Пример #8
0
 public InactiveGKoopaState(GKoopaStateMachine sm, EnemyEntity enemy)
     : base(sm, enemy)
 {
     Animation = new GreenShell();
 }
Пример #9
0
 public ActiveGoombaState(GoombaStateMachine sm, EnemyEntity enemy)
     : base(sm, enemy)
 {
     Animation = new GoombaWalking();
 }