프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
FillTilemap ( ) : void | ||
FindNeighbors ( ) : void | ||
FindSecondaryRooms ( ) : void | ||
GenerateHallLines ( ) : void | ||
GenerateRoom ( ) : void | ||
GetInstance ( ) : RoomGeneratorProd, | ||
MarkMainRooms ( ) : void | ||
MarkTileWithRect ( List |
||
RandomAddRooms ( ) : void | ||
SeprateRooms ( ) : void |
메소드 | 설명 | |
---|---|---|
GetDist ( Rect a, Rect b ) : float | ||
GetRandomPointInCircle ( float radius ) : Vector2 |
public MarkTileWithRect ( List |
||
list | List |
|
t | TileType, | |
offset | Vector2 | |
리턴 | void |