Beispiel #1
0
        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();
        }
Beispiel #2
0
 internal static void RunGame()
 {
     rpgGame = new RPGGame();
     rpgGame.Run();
 }
Beispiel #3
0
        private static void Main(string[] args)
        {
            var rpgGame = new RPGGame();

            rpgGame.Run();
        }
Beispiel #4
0
        static void Main(string[] args)
        {
            RPGGame g = new RPGGame();

            g.Run();
        }
Beispiel #5
0
 static void Main()
 {
     using (var game = new RPGGame())
         game.Run();
 }