Esempio n. 1
0
    public virtual TickInfo TakeTick(InputHandlerInfo inputHandlerInfo)
    {
        // RESOLVE TURN
        UpdateGame();

        // RESOLVE INPUT IN GAME
        HomelandsTurnData turnData = _inputHandler.HandleInput(inputHandlerInfo);

        // DRAW GAME
        List <GraphicsData> graphicsToDraw = Draw();

        // OUTPUT TURN INFO
        TickInfo tickInfo = _tickSystem.GetTick(graphicsToDraw, turnData);

        return(tickInfo);
    }
Esempio n. 2
0
 private void GameWin()
 {
     Time.timeScale = 0f;
     _ui.ShowWinMenu(TickSystem.GetTick());
 }