public FlyerIdleState(FlyerFSM stateMachine, Flyer flyer) { _stateMachine = stateMachine; _flyer = flyer; _playerInRange = flyer.PlayerDetector.PlayerInRange; }
public FlyerHitState(FlyerFSM stateMachine, Flyer flyer) { _stateMachine = stateMachine; _receiveHit = flyer.ReceiveHit; _hitVolume = flyer.HitVolume; }
public FlyerReturningState(FlyerFSM stateMachine, Flyer flyer) { _stateMachine = stateMachine; _flyer = flyer; _movement = flyer.Movement; }
public FlyerChasingState(FlyerFSM stateMachine, Flyer flyer) { _stateMachine = stateMachine; _flyer = flyer; _playerInRange = flyer.PlayerDetector.PlayerInRange; _movement = flyer.Movement; }