Exemple #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
Exemple #2
0
		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 ();
		}
Exemple #3
0
		internal static void RunGame ()
		{
			game = new Game1 ();
			game.Run ();
		}