Exemplo n.º 1
0
    private void LeaveGameState(GameState _state)
    {
        switch (_state)
        {
        case GameState.Shooting:
            m_inputManager.InputShotEvent       -= OnPlayerShotInput;
            m_inputManager.InputMoveCameraEvent -= OnMoveCameraInput;
            break;

        case GameState.ProcessingShot:
            break;

        case GameState.EndOfShotScoredPoint:
            break;

        case GameState.PreReplay:
            break;

        case GameState.ProcessingReplay:
            break;

        case GameState.GameOverScreen:
            break;

        default:
            break;
        }

        LeaveStateEvent?.Invoke(_state);
    }
Exemplo n.º 2
0
 internal void OnLeaveState(string state)
 {
     LeaveStateEvent?.Invoke(state);
 }