graphics = new GraphicsDeviceManager(this);
Components.Add(new GamerServicesComponent(this));
- graphics.PreferMultiSampling = true;
- graphics.PreferredBackBufferWidth = 1280;
- graphics.PreferredBackBufferHeight = 720;
- //graphics.ToggleFullScreen();
-
Content.RootDirectory = "Content";
ActorFactory.SetGame(this);
ParticleEffectFactory.SetGame(this);
{
base.Initialize();
+ graphics.PreferMultiSampling = true;
+ graphics.PreferredBackBufferHeight = 720;
+ graphics.PreferredBackBufferWidth = 1280;
+ //graphics.ToggleFullScreen();
+
InputController.RegisterEventForKey("fullScreenToggle", Keys.F11);
InputController.Bind("fullScreenToggle", HandleFullScreenToggle);