protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); Game1.Activity = this; var g = new Game1(); SetContentView(g.Window); g.Run(); }
public Game1() { _instance = this; _startTime = DateTime.Now; graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; graphics.IsFullScreen = true; graphics.PreferredBackBufferWidth = 1920; graphics.PreferredBackBufferHeight = 1080; graphics.SupportedOrientations = DisplayOrientation.LandscapeLeft; }