/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); //Window.AddFlags(WindowManagerFlags.Fullscreen); //Window.ClearFlags(WindowManagerFlags.ForceNotFullscreen); _sensorManager = (SensorManager) GetSystemService(Context.SensorService); var g = new Game1 (); SetContentView (g.Services.GetService<View> ()); g.Run (); }
internal static void RunGame () { game = new Game1 (); game.Run (); }