示例#1
0
    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;
    }
示例#3
0
    public ShooterIdleState(ShooterFSM stateMachine, Shooter shooter)
    {
        _stateMachine = stateMachine;

        _playerInRange = shooter.PlayerDetector.PlayerInRange;
    }