Свойство | Type | Description | |
---|---|---|---|
HallOffsetOfEdge | int | ||
HallWidth | int | ||
MainRoomMulValue | float | ||
RoomCount | int | ||
RoomMaxHeight | int | ||
RoomMaxWidth | int | ||
RoomMinHeight | int | ||
RoomMinWidth | int | ||
RoomRandomCircleRadius | float | ||
TileMapData | ].TileType[ | ||
allRooms | List |
||
halls | List |
||
mainRooms | List |
||
multiper | float | ||
secondaryRoom | List |
Méthode | Description | |
---|---|---|
FillTilemap ( ) : void | ||
FindNeighbors ( ) : void | ||
FindSecondaryRooms ( ) : void | ||
GenerateHallLines ( ) : void | ||
GenerateRoom ( ) : void | ||
GetInstance ( ) : RoomGeneratorProd, | ||
MarkMainRooms ( ) : void | ||
MarkTileWithRect ( List |
||
RandomAddRooms ( ) : void | ||
SeprateRooms ( ) : void |
Méthode | Description | |
---|---|---|
GetDist ( Rect a, Rect b ) : float | ||
GetRandomPointInCircle ( float radius ) : Vector2 |
public static GetInstance ( ) : RoomGeneratorProd, | ||
Résultat | RoomGeneratorProd, |
public MarkTileWithRect ( List |
||
list | List |
|
t | TileType, | |
offset | Vector2 | |
Résultat | void |