protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); RequestedOrientation = ScreenOrientation.Landscape; RequestWindowFeature(WindowFeatures.NoTitle); Window.SetFlags(WindowManagerFlags.Fullscreen, WindowManagerFlags.Fullscreen); var rpgGame = new RPGGame(); SetContentView(rpgGame.Services.GetService <View>()); rpgGame.Run(); }
internal static void RunGame() { rpgGame = new RPGGame(); rpgGame.Run(); }
private static void Main(string[] args) { var rpgGame = new RPGGame(); rpgGame.Run(); }
static void Main(string[] args) { RPGGame g = new RPGGame(); g.Run(); }
static void Main() { using (var game = new RPGGame()) game.Run(); }