static void Main(string[] args) { Console.WriteLine("Starting"); using (var game = new GameWindow()) game.Run(15, 30); Console.WriteLine("Exiting"); }
public Snake(GameWindow window, int width, int height) { Reset(window, width, height); }
private void GameClick(object sender, RoutedEventArgs e) { GameWindow gameWindow = new GameWindow(); gameWindow.Show(); }