Exemplo n.º 1
0
        public Program()
        {
            game = new Game();

            game.Renderer = new FastRenderer(game);
            game.Load();
        }
Exemplo n.º 2
0
        public static BaseLevel GenerateFromJson()
        {
            var game = new Game(new GameOptions()
            {
                ContentPath = "GoldFeverTests.Content",
                ContentSource = new NamedContentSource("GoldFeverTests")
            });

            game.Load();
            return game.Level;
        }