Style Slasher
A dressup combat roguelike created by Scrungle Studios for the 2025 Swinburne Capstone project.
Slasher.Map.RoomLibrary Class Referencesealed
Inheritance diagram for Slasher.Map.RoomLibrary:
Inheritance graph
Collaboration diagram for Slasher.Map.RoomLibrary:
Collaboration graph

Public Member Functions

bool ValidLargeRoomCandidate (bool[,] quadrantPerimeter)
 
bool[,] GetLargeRoomLayout (bool[,] quadrantPerimeter)
 
RoomTypeSO GetRoomTypeFromLayout (bool[,] Roomlayout)
 
void AssignRoom (Room room, Room.RoomType roomType)
 

Static Public Attributes

const int MAX_LARGE_ROOM_WIDTH = 3
 
const int MAX_LARGE_ROOM_HEIGHT = 3
 
const int STANDARD_ROOM_WIDTH = 18
 
const int STANDARD_ROOM_HEIGHT = 12
 
const int ROOM_BUFFER_SIZE = 10
 

Properties

static RoomLibrary Instance [get, private set]
 

Private Member Functions

void Awake ()
 

Private Attributes

List< RoomTypeSO_regularRoomTypes = new()
 
List< RoomTypeSO_largeRoomTypes = new()
 

Member Function Documentation

◆ AssignRoom()

void Slasher.Map.RoomLibrary.AssignRoom ( Room room,
Room.RoomType roomType )
Here is the call graph for this function:

◆ Awake()

void Slasher.Map.RoomLibrary.Awake ( )
private

◆ GetLargeRoomLayout()

bool[,] Slasher.Map.RoomLibrary.GetLargeRoomLayout ( bool quadrantPerimeter[,])
Here is the call graph for this function:

◆ GetRoomTypeFromLayout()

RoomTypeSO Slasher.Map.RoomLibrary.GetRoomTypeFromLayout ( bool Roomlayout[,])
Here is the call graph for this function:

◆ ValidLargeRoomCandidate()

bool Slasher.Map.RoomLibrary.ValidLargeRoomCandidate ( bool quadrantPerimeter[,])
Here is the call graph for this function:

Member Data Documentation

◆ _largeRoomTypes

List<RoomTypeSO> Slasher.Map.RoomLibrary._largeRoomTypes = new()
private

◆ _regularRoomTypes

List<RoomTypeSO> Slasher.Map.RoomLibrary._regularRoomTypes = new()
private

◆ MAX_LARGE_ROOM_HEIGHT

const int Slasher.Map.RoomLibrary.MAX_LARGE_ROOM_HEIGHT = 3
static

◆ MAX_LARGE_ROOM_WIDTH

const int Slasher.Map.RoomLibrary.MAX_LARGE_ROOM_WIDTH = 3
static

◆ ROOM_BUFFER_SIZE

const int Slasher.Map.RoomLibrary.ROOM_BUFFER_SIZE = 10
static

◆ STANDARD_ROOM_HEIGHT

const int Slasher.Map.RoomLibrary.STANDARD_ROOM_HEIGHT = 12
static

◆ STANDARD_ROOM_WIDTH

const int Slasher.Map.RoomLibrary.STANDARD_ROOM_WIDTH = 18
static

Property Documentation

◆ Instance

RoomLibrary Slasher.Map.RoomLibrary.Instance
staticgetprivate set

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