Exemplo n.º 1
0
 public void ShowCurrentPlayer(Player player)
 {
     currentPlayer.show();
     endMove.hide();
     winnersScreen.hide();
     resultsScreen.hide();
     currentPlayer.showPlayer(player);
 }
Exemplo n.º 2
0
    public void Awake()
    {
        currentPlayer = new CurrenPlayerScreen(transform.FindChild("CurrentPlayer").gameObject, currentPlayerNext);
        endMove       = new EndMoveScreen(transform.FindChild("EndMove").gameObject, endMoveNext);
        resultsScreen = new ResultsScreen(transform.FindChild("MoveResults").gameObject, сloseMoveResults);
        winnersScreen = new WinnersScreen(transform.FindChild("Winners").gameObject, finishGame);

        endMove.hide();
        currentPlayer.hide();
        resultsScreen.hide();
        winnersScreen.hide();
    }
Exemplo n.º 3
0
    public void Awake()
    {
        currentPlayer = new CurrenPlayerScreen(transform.FindChild("CurrentPlayer").gameObject, currentPlayerNext);
        endMove = new EndMoveScreen(transform.FindChild("EndMove").gameObject, endMoveNext);
        resultsScreen = new ResultsScreen(transform.FindChild("MoveResults").gameObject, сloseMoveResults);
        winnersScreen = new WinnersScreen(transform.FindChild("Winners").gameObject, finishGame);

        endMove.hide();
        currentPlayer.hide();
        resultsScreen.hide();
        winnersScreen.hide();
    }