static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
public Game1() { Game = this; m_GraphicsDeviceManager = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; TargetElapsedTime = TimeSpan.FromTicks(333333); InactiveSleepTime = TimeSpan.FromSeconds(1); IsMouseVisible = true; }