Ejemplo n.º 1
0
 public void ShowEndMoveForPlayer(Player player)
 {
     currentPlayer.hide();
     resultsScreen.hide();
     winnersScreen.hide();
     endMove.show();
     endMove.forPlayer(player);
 }
Ejemplo 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();
    }
Ejemplo 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();
    }