Beispiel #1
0
        private void DrawGUI()
        {
            List <string> temp = _player1.GetDisplay();

            for (int i = 0; i < temp.Count; i++)
            {
                SwinGame.DrawText(temp[i], Color.Red, 10, 15 + (i * 15));
            }

            temp = _player2.GetDisplay();
            for (int i = 0; i < temp.Count; i++)
            {
                SwinGame.DrawText(temp[i], Color.Blue, 1910 - SwinGame.TextWidth(SwinGame.FontNamed("GUI_text"), temp[i]), 15 + (i * 15));
            }
        }