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