Ejemplo n.º 1
0
        public SceneCage2(Main main) : base("cage_2", main)
        {
            fileScene = new CEASceneFileInterpreter(Path.Combine(References.SCENES_FOLDER, "scene_cage_2.scn"), Assets.MainFont, main);

            chest    = new ObjectChest(Assets.Chest1, Assets.Chest1Open, BaseGame);
            itemBook = new CEAObjectItem("book_1", Assets.Book1, 1, BaseGame.game.Inventory, BaseGame);

            crate          = new ObjectChest(Assets.Crate, Assets.CrateOpen, BaseGame);
            itemGoldBlocks = new CEAObjectItem("gold_block", Assets.GoldBlock, 7, BaseGame.game.Inventory, BaseGame);

            fileScene.AddObject(chest);
            fileScene.AddObject(itemBook);
            fileScene.AddObject(crate);
            fileScene.AddObject(itemGoldBlocks);
        }
Ejemplo n.º 2
0
 public SceneCage3(Main main) : base("cage_3", main)
 {
     fileScene = new CEASceneFileInterpreter(Path.Combine(References.SCENES_FOLDER, "scene_cage_3.scn"), Assets.MainFont, main);
 }
Ejemplo n.º 3
0
 public SceneHall1(Main main) : base("hall_1", main)
 {
     fileScene = new CEASceneFileInterpreter(Path.Combine(References.SCENES_FOLDER, "scene_hall_1.scn"), Assets.MainFont, main);
 }