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

Public Types

enum  RoomType {
  StartingRoom , ChallengeRoom , CombatRoom , RewardRoom ,
  NormalRoom , ShopRoom , Unallocated
}
 

Public Member Functions

void AddQuadrant (Quadrant quadrant)
 
void RemoveQuadrant (Quadrant quadrant)
 
Vector3 GetRoomDimensions ()
 
List< QuadrantGetQuadrants ()
 
List< QuadrantAddQuadrants ()
 
void SetRoomType (RoomType roomType)
 
void SetRoomPrefabDataSO (RoomPrefabDataSO roomData)
 
RoomPrefabDataSO GetRoomPrefabDataSO ()
 
Vector2Int GetCoreQuadrantGridPosition ()
 
void SetRoomaLayout (bool[,] roomlayout)
 
bool[,] GetRoomLayout ()
 
RoomType GetRoom ()
 
bool IsType (RoomType roomType)
 
List< RoomGetConnctedRooms ()
 
bool IsLarge ()
 
void Awake ()
 
void CreateDoor (Quadrant quadrant, Path path, int maxHeight)
 
void CreateDoors (int maxHeight)
 
void DisplayRoom (int maxHeight)
 Draw a debug Version of this room.
 
Vector2 GetDebugWidthAndHeight ()
 
Vector2 GetDebugDirection ()
 
void CheckDoors ()
 

Private Attributes

RoomPrefabDataSO _roomPrefabDataSO
 
bool[,] _roomLayout
 
Transform _blankDoorPrefab
 
WallsManager _blankWallsPrefab
 
RoomType _roomType
 
List< Quadrant_quadrants
 

Member Enumeration Documentation

◆ RoomType

Enumerator
StartingRoom 
ChallengeRoom 
CombatRoom 
RewardRoom 
NormalRoom 
ShopRoom 
Unallocated 

Member Function Documentation

◆ AddQuadrant()

void Slasher.Map.Room.AddQuadrant ( Quadrant quadrant)

◆ AddQuadrants()

List< Quadrant > Slasher.Map.Room.AddQuadrants ( )

◆ Awake()

void Slasher.Map.Room.Awake ( )

◆ CheckDoors()

void Slasher.Map.Room.CheckDoors ( )
Here is the call graph for this function:

◆ CreateDoor()

void Slasher.Map.Room.CreateDoor ( Quadrant quadrant,
Path path,
int maxHeight )
Here is the call graph for this function:

◆ CreateDoors()

void Slasher.Map.Room.CreateDoors ( int maxHeight)
Here is the call graph for this function:

◆ DisplayRoom()

void Slasher.Map.Room.DisplayRoom ( int maxHeight)

Draw a debug Version of this room.

Here is the call graph for this function:

◆ GetConnctedRooms()

List< Room > Slasher.Map.Room.GetConnctedRooms ( )
Here is the call graph for this function:

◆ GetCoreQuadrantGridPosition()

Vector2Int Slasher.Map.Room.GetCoreQuadrantGridPosition ( )

◆ GetDebugDirection()

Vector2 Slasher.Map.Room.GetDebugDirection ( )

◆ GetDebugWidthAndHeight()

Vector2 Slasher.Map.Room.GetDebugWidthAndHeight ( )

◆ GetQuadrants()

List< Quadrant > Slasher.Map.Room.GetQuadrants ( )

◆ GetRoom()

RoomType Slasher.Map.Room.GetRoom ( )

◆ GetRoomDimensions()

Vector3 Slasher.Map.Room.GetRoomDimensions ( )

◆ GetRoomLayout()

bool[,] Slasher.Map.Room.GetRoomLayout ( )

◆ GetRoomPrefabDataSO()

RoomPrefabDataSO Slasher.Map.Room.GetRoomPrefabDataSO ( )

◆ IsLarge()

bool Slasher.Map.Room.IsLarge ( )

◆ IsType()

bool Slasher.Map.Room.IsType ( RoomType roomType)

◆ RemoveQuadrant()

void Slasher.Map.Room.RemoveQuadrant ( Quadrant quadrant)

◆ SetRoomaLayout()

void Slasher.Map.Room.SetRoomaLayout ( bool roomlayout[,])

◆ SetRoomPrefabDataSO()

void Slasher.Map.Room.SetRoomPrefabDataSO ( RoomPrefabDataSO roomData)

◆ SetRoomType()

void Slasher.Map.Room.SetRoomType ( RoomType roomType)

Member Data Documentation

◆ _blankDoorPrefab

Transform Slasher.Map.Room._blankDoorPrefab
private

◆ _blankWallsPrefab

WallsManager Slasher.Map.Room._blankWallsPrefab
private

◆ _quadrants

List<Quadrant> Slasher.Map.Room._quadrants
private

◆ _roomLayout

bool [,] Slasher.Map.Room._roomLayout
private
Initial value:
= {{false,false,false},
{false,true ,false},
{false,false,false}}

◆ _roomPrefabDataSO

RoomPrefabDataSO Slasher.Map.Room._roomPrefabDataSO
private

◆ _roomType

RoomType Slasher.Map.Room._roomType
private

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