public Game1() { vSettings = new GameVideoSettings(); graphics = new GraphicsDeviceManager(this); graphics.PreferredBackBufferWidth = (int)vSettings.windowSize.X; graphics.PreferredBackBufferHeight = (int)vSettings.windowSize.Y; IsFixedTimeStep = false; graphics.SynchronizeWithVerticalRetrace = vSettings.vSync; TargetElapsedTime = vSettings.frameRate; this.IsMouseVisible = true; Content.RootDirectory = "Content"; }
public virtual void Draw(SpriteBatch sb, GameVideoSettings vSettings) { }
public void Draw(SpriteBatch sb, GameVideoSettings vSettings) { currentScene.Draw(sb, vSettings); }