Beispiel #1
0
    }// set x,y size of the tile grid

    // public interface: game loop
    public void SetupLevelNewGame()
    {
        managerTerrain.CreateTerrain(gridTilesX, gridTilesZ, Settings.widthEdgeTilesGrid);
        managerUI.SetupGameScreenUI();
        managerPlayer.Setup();
        managerCamera.FaceUnit(managerPlayer.Player);
        managerBlight.SetupBlightNewGame();

        managerPlayer.SetupNewPlayerStats();
        managerPlayer.Points = 0;
        managerPlayer.Turn   = 0;
        inGame = true;
        StartCoroutine(CheckGameOverMovement());
    }