예제 #1
0
    public override void GenerateContent()
    {
        base.GenerateContent();

        List <DungeonRoomEnemy> enemies = EnemyRoomData.GenerateChallenge(difficulty, this);

        roomObjects.AddRange(enemies);
    }
예제 #2
0
    public override void GenerateContent()
    {
        base.GenerateContent();

        List <DungeonRoomEnemy> enemies = EnemyRoomData.GenerateChallenge(difficulty, this);

        roomObjects.AddRange(enemies);

        IntPair           pos           = CenterInt * IntPair.right + InnerDimensions * IntPair.up;
        DungeonRoomObject treasureChest = new DungeonRoomObject(this, pos,
                                                                "LockedTreasureChest", null, false);

        roomObjects.Add(treasureChest);
    }