Dungeon Architect  17.0.0
DungeonArchitect.Builders.Grid.GridBuilderUtils Class Reference

Static Public Member Functions

static bool IsCorridor (CellType type)
 
static bool IsRoomCorridor (CellType typeA, CellType typeB)
 
static void GetRoomConnectionPointsForTiledMode (Rectangle bounds, ref List< IntVector > positions, bool skipCornersOnPathSelection)
 
static bool AreAdjacentCellsReachable (GridDungeonModel gridModel, int cellIdA, int cellIdB)
 
static int[] GetCellCluster (GridDungeonModel gridModel, int sampleCellId)
 Finds all the nearby tiles that belong to the same cluster More...
 
static void GetAdjacentCorridors (GridDungeonModel gridModel, int startCellId, ref List< int > OutConnectedCorridors, ref List< int > OutConnectedRooms)
 

Detailed Description

Definition at line 5 of file GridBuilderUtils.cs.

Member Function Documentation

◆ GetCellCluster()

static int [] DungeonArchitect.Builders.Grid.GridBuilderUtils.GetCellCluster ( GridDungeonModel  gridModel,
int  sampleCellId 
)
static

Finds all the nearby tiles that belong to the same cluster

Parameters
gridModel
corridorTileCellId
Returns

Definition at line 86 of file GridBuilderUtils.cs.


The documentation for this class was generated from the following file: