protected override void OnCreate(Bundle bundle) { base.OnCreate(bundle); TempleMain.Activity = this; Vibrator v = (Vibrator)GetSystemService(Context.VibratorService); game = new TempleMain(v); SetContentView(game.Window); game.Run(); }
static void Main() { using (var game = new TempleMain()) game.Run(); }