Пример #1
0
 public EnemyReloadingState(EnemyStateMachine ESM)
     : base(ESM)
 {
     //TODO
 }
Пример #2
0
 public EnemyRunningState(EnemyStateMachine ESM)
     : base(ESM)
 {
     enemy.sprite.LoadAnimation(enemy.RunAnimation);
 }
Пример #3
0
 public EnemyMainState(EnemyStateMachine esm)
     : base(esm)
 {
     this.esm = (EnemyStateMachine)sm;
     enemy    = (Enemy)character;
 }
Пример #4
0
 public EnemyFiringState(EnemyStateMachine ESM)
     : base(ESM)
 {
 }
Пример #5
0
 public EnemyShooterState(EnemyStateMachine HSM)
     : base(HSM)
 {
     esm   = (EnemyStateMachine)sm;
     enemy = (Enemy)character;
 }
Пример #6
0
 public BehaviorState(EnemyStateMachine esm)
     : base(esm)
 {
     this.esm = (EnemyStateMachine)sm;
     enemy    = (Enemy)character;
 }
Пример #7
0
 public EnemyJumpingState(EnemyStateMachine ESM)
     : base(ESM)
 {
     enemy.sprite.LoadAnimation(enemy.JumpAnimation);
 }
Пример #8
0
 public KamikazeState(EnemyStateMachine ESM)
     : base(ESM)
 {
     enemy.Weapon.AttackRate = 5;
     esm.ShooterState        = new EnemyFiringState(esm);
 }
Пример #9
0
 public TrackState(EnemyStateMachine ESM)
     : base(ESM)
 {
     esm.ShooterState = new EnemyAimingState(esm);
 }