/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (CanGame game = new CanGame()) { game.Run(); } }
public CanGame() { game = this; graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; graphics.PreferredBackBufferWidth = 1280; graphics.PreferredBackBufferHeight = 720; //graphics.IsFullScreen = true; // DEBUG /* IsFixedTimeStep = true; TargetElapsedTime = new TimeSpan(50); */ Level = 1; }