Esempio n. 1
0
    public void InitializeUI(Game.Player myPlayer, Game.Player opponentPlayer)
    {
        SetOpponentPlayerPanel(opponentPlayer);
        SetMyPlayerPanel(myPlayer);

        submitCommands.Deactivate();
        backToPresent.Deactivate();
        stepBackButton.Deactivate();
        stepForwardButton.Deactivate();

        robotButtonContainer.SetButtons(true);
        commandButtonContainer.SetButtons(false);
        directionButtonContainer.SetButtons(false);
    }