/// <summary> /// The main entry point for the application. /// </summary> static void Main() { using (PrimitivesSampleGame game = new PrimitivesSampleGame()) { game.Run(); } }
protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); // Create our OpenGL view, and display it PrimitivesSampleGame.Activity = this; var g = new PrimitivesSampleGame(); SetContentView (g.Window); g.Run(); }
public override void FinishedLaunching (MonoMac.Foundation.NSObject notification) { game = new PrimitivesSampleGame(); game.Run(); }
public override void FinishedLaunching(MonoMac.Foundation.NSObject notification) { game = new PrimitivesSampleGame(); game.Run(); }
public override void FinishedLaunching(UIApplication app) { // Fun begins.. game = new PrimitivesSampleGame(); game.Run(); }