예제 #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
파일: Program.cs 프로젝트: CallitMez/RPG
 static void Main()
 {
     using (var game = new RPGGame())
         game.Run();
 }