Пример #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Starting");

            using (var game = new GameWindow())
                game.Run(15, 30);

            Console.WriteLine("Exiting");
        }
Пример #2
0
 public Snake(GameWindow window, int width, int height)
 {
     Reset(window, width, height);
 }
Пример #3
0
        private void GameClick(object sender, RoutedEventArgs e)
        {
            GameWindow gameWindow = new GameWindow();

            gameWindow.Show();
        }