Пример #1
0
 //constructor
 public TurretState(TurretStateController turretStateController)
 {
     this.turretStateController = turretStateController;
 }
Пример #2
0
 //This state has the turrets wait idly until the player becomes visible, then moves them to their attack state
 public TurretIdleState(TurretStateController turretStateController) : base(turretStateController)
 {
 }
 public TurretAttackState(TurretStateController turretStateController) : base(turretStateController)
 {
 }