/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Application app = new Application()) { app.Run(); } }
public BubblePhysics(Application app) { this.app = app; graphics = new GraphicsDeviceManager(app); content = app.Content; app.IsFixedTimeStep = true; graphics.SynchronizeWithVerticalRetrace = true; graphics.PreferredBackBufferWidth = WIDTH; graphics.PreferredBackBufferHeight = HEIGHT; content.RootDirectory = "Content"; }