示例#1
0
文件: Program.cs 项目: Subv/SnakeGL
        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();
        }