protected override void Initialize() { spriteBatch = new SpriteBatch(GraphicsDevice); Device = graphics.GraphicsDevice; //Initialize game info: graphics.PreferredBackBufferWidth = 1000; graphics.PreferredBackBufferHeight = 650; graphics.IsFullScreen = false; graphics.ApplyChanges(); Window.Title = "Adventure Game 2.0"; IsMouseVisible = true; //Initialize the static classes: ObjectHolder.Initialize(); KeyboardManager.Initialize(); base.Initialize(); }