Esempio n. 1
0
        private Brush GetForgroungByPlayer()
        {
            var getPlayer = gameLogic.GetPlayer();

            if (getPlayer == Players.FirstPlayer)
            {
                return(new SolidColorBrush(Colors.Red));
            }
            else
            {
                return(new SolidColorBrush(Colors.Blue));
            }
        }