public AttackState(GameObject gameObject, TankController tankController) : base(gameObject) { this.tankController = tankController; this.tank = gameObject; this.platoonController = tankController.platoonController; }
public EvadeState(GameObject givenGameObject, TankController givenTankController) : base(givenGameObject) { tankController = givenTankController; evadeRadius = tankController.evadeDistance; }
public RegroupState(GameObject gameObject, TankController tankController) : base(gameObject) { _tankController = tankController; }
public PatrolState(GameObject gameObject, TankController tankController) : base(gameObject) { _tankController = tankController; _wayPoints = Object.FindObjectOfType <PatrollingWayPoints>().GetComponent <PatrollingWayPoints>().wayPoints; _currentWayPointIndex = 0; }
public ChaseState(GameObject gameObject, TankController tankController) : base(gameObject) { this.tankController = tankController; }