void SectionOver(bool gameIsADraw)
    {
        SetBoardInteractable(false);

        if (gameIsADraw)
        {
            gameOverText.text = "-";
        }
        else
        {
            gameOverText.text = globalController.GetPlayerSide();
        }

        gameOverPanel.SetActive(true);
        globalController.CheckForWin(gamePosition);
    }
Beispiel #2
0
 public void SetSpace()
 {
     buttonText.text     = globalController.GetPlayerSide();
     button.interactable = false;
     gameController.EndTurn(position);
 }