public ShooterAggroState(ShooterFSM stateMachine, Shooter shooter) { _stateMachine = stateMachine; _shooter = shooter; _playerInRange = shooter.PlayerDetector.PlayerInRange; _shootRate = shooter.ShootRate; }
public ShooterHitStunState(ShooterFSM stateMachine, Shooter shooter) { _stateMachine = stateMachine; _receiveHit = shooter.ReceiveHit; }
public ShooterIdleState(ShooterFSM stateMachine, Shooter shooter) { _stateMachine = stateMachine; _playerInRange = shooter.PlayerDetector.PlayerInRange; }