protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); _game = new NeonShooterGame(); _view = _game.Services.GetService(typeof(View)) as View; SetContentView(_view); _game.Run(); }
static void Main() { using (var game = new NeonShooterGame()) game.Run(); }
static void Main() { var game = new NeonShooterGame(); game.Run(); }
public override void DidFinishLaunching(NSNotification notification) { game = new NeonShooterGame(); game.Run(); }
internal static void RunGame() { game = new NeonShooterGame(); game.Run(); }