Procedural Dungeon ⏵ Dungeon Graph ⏵ Get Random Room
Get Random Room
Class: Dungeon Graph
Category: Dungeon Graph
Description
Returns a random room from an array of room
Node
C++
URoom* GetRandomRoom(const TArray<URoom*>& RoomList) const
Inputs
Name | Type | Description |
---|---|---|
Target | Dungeon Graph Object Reference | |
Room List | Array of Room Object References |
Outputs
Name | Type | Description |
---|---|---|
Return Value | Room Object Reference | Returns a random room from an array of room |