C# Class RoomGeneratorControllor, Procedural-Generation-Tilemap

Inheritance: MonoBehaviour
显示文件 Open project: robinxb/Procedural-Generation-Tilemap

Public Properties

Property Type Description
HallOffsetOfEdge int
HallWidth int
MainRoomMulValue float
RoomCount int
RoomMaxHeight int
RoomMaxWidth int
RoomMinHeight int
RoomMinWidth int
RoomRandomCircleRadius float
cam Camera
roomObj Room,

Public Methods

Method Description
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
FindNeighbors ( ) : IEnumerator
GenStep1 ( ) : IEnumerator
GenerateHallLines ( ) : IEnumerator
GenerateTileMap ( ) : IEnumerator
GetDist ( Room, a, Room, b ) : float
GetRandomPointInCircle ( float radius ) : Vector2
MarkHalls ( ) : IEnumerator
MarkMainRooms ( ) : IEnumerator
SeprateRooms ( ) : IEnumerator
TouchTest ( Room, a, Room, b ) : bool

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

HallOffsetOfEdge public_oe property

public int HallOffsetOfEdge
return int

HallWidth public_oe property

public int HallWidth
return int

MainRoomMulValue public_oe property

public float MainRoomMulValue
return float

RoomCount public_oe property

public int RoomCount
return int

RoomMaxHeight public_oe property

public int RoomMaxHeight
return int

RoomMaxWidth public_oe property

public int RoomMaxWidth
return int

RoomMinHeight public_oe property

public int RoomMinHeight
return int

RoomMinWidth public_oe property

public int RoomMinWidth
return int

RoomRandomCircleRadius public_oe property

public float RoomRandomCircleRadius
return float

cam public_oe property

public Camera cam
return Camera

roomObj public_oe property

public Room, roomObj
return Room,