/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game game = new Graffiti.Samples.Halloween.Game()) { game.Run(); } }
protected override void OnCreate(Bundle bundle) { base.OnCreate (bundle); // Create our OpenGL view, and display it Graffiti.Samples.Halloween.Game.Activity = this; var g = new Graffiti.Samples.Halloween.Game (); SetContentView (g.Window); g.Run (); }