Exemplo n.º 1
0
        /// <summary>
        /// Отрисовка екранов игры
        /// </summary>
        private void Drow()
        {
            switch (StateOfGame)
            {
            case StateOfGame.Menu:
                menu.Drow();
                break;

            case StateOfGame.Game:
                level.Drow();
                break;

            case StateOfGame.GameOver:
                gameOver.Drow();
                break;
            }
        }