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

            rpgGame.Run();
        }
Пример #4
0
        static void Main(string[] args)
        {
            RPGGame g = new RPGGame();

            g.Run();
        }
Пример #5
0
 static void Main()
 {
     using (var game = new RPGGame())
         game.Run();
 }