public AnGame() { graphics = new GraphicsDeviceManager(this); Registration.Initialize(); var manager = GameFactory.Resolve(); MyGame.Construct(manager); }
public AnGame() { graphics = new GraphicsDeviceManager(this); #if WINDOWS_PHONE_APP graphics.SupportedOrientations = DisplayOrientation.LandscapeLeft | DisplayOrientation.LandscapeRight; #endif Registration.Initialize(); var manager = GameFactory.Resolve(); MyGame.Construct(manager); }
public AnGame() { graphics = new GraphicsDeviceManager(this) { SupportedOrientations = DisplayOrientation.LandscapeLeft }; Registration.Initialize(); var manager = GameFactory.Resolve(); MyGame.Construct(manager); }