Example #1
0
    private HiddenCorridor[] hidden_corridors;        // Hidden rooms

    private void Awake()
    {
        // Create the board holder.
        boardHolder = new GameObject("BoardHolder");

        dungeon_stats = GlobalControl.Instance.dungeon;

        SetupTilesArray();

        CreateRoomsAndCorridors();

        SetTilesValuesForCorridors();
        SetTilesValuesForRooms();

        InstantiateTiles();
        InstantiateOuterWalls();
    }
Example #2
0
 public void DungeonSet(int a, int b, int d, float e, float f, int g, int h, IntRange i, IntRange j, IntRange k, IntRange l, int[] m, int[] n, int[] o)
 {
     dungeon = new DungeonSetting(a, b, d, e, f, g, h, i, j, k, l, m, n, o);
 }
Example #3
0
 public DungeonType(DungeonSetting setting, string environment)
 {
     settingType     = setting;
     environmentType = environment;
 }