コード例 #1
0
    private void Update()
    {
        if (updateTimer.Ready())
        {
        }

        if (!desactivateGameOverAndVictory && StateManager.GetSingleton.State < StateManager.GameState.Pause)
        {
            //IsGameOver();
            winManager.IsVictory();
        }

        /*else if (StateManager.GetSingleton.State == StateManager.GameState.Pause)
         * {
         *  InputPause();
         * }*/


        //InputGameOver();
        if (!paused)
        {
            InputQuit(); //input quitter
        }
    }