示例#1
0
        static void Main()
        {
            Strings.Culture = CultureInfo.CurrentCulture;
            //Strings.Culture = CultureInfo.GetCultureInfo(JAPANESE);

            //using (var game = new MainGame(WIDTH, HEIGHT, new SplashState(), DEBUG))
            using (var game = new MainGame(WIDTH, HEIGHT, new TestCameraState(), DEBUG))
            {
                game.IsFixedTimeStep   = true;
                game.TargetElapsedTime = TimeSpan.FromSeconds(1.0f / 50);
                game.Run();
            }
        }
示例#2
0
 static void Main()
 {
     using (var game = new MainGame())
         game.Run();
 }