Пример #1
0
        public override void Generate()
        {
            shopData = new ShopData();

            shopData.AddItem(new HpPotion(1), 1);
            shopData.AddItem(new CCAADoubleattackChanceUpgrade(1), 10);
            shopData.AddItem(new Heal(5), 10);

            start = map.GenerateDungeonRegion(0, 0, 40, true, false, false, levelOneSeeds);           // 0 0
            mid   = map.GenerateDungeonRegion(1, 0, 43, false, true, false, levelTwoSeeds);           // 0, 2
            end   = map.GenerateDungeonRegion(2, 0, 45, false, true, true, levelThree, 1, 2);         // 0, 2
        }