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