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