/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { GameBox gbox = new GameBox(); gbox.loadContent(); //while(true){ gbox.run(); //} //gbox.unloadContent(); }
public GameBox() { window = new RenderWindow(new VideoMode(GAMERESX, GAMERESY, 32), "Turtle"); window.Closed += new EventHandler(OnClose); //graphics = null; // if (ISFULLSCREEN) graphics.IsFullScreen = true; game = this; }