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

Public Types

enum  Direction { North , East , South , West }
 

Public Member Functions

void SetQuadrantPathLocation (Path path, Direction direction)
 Set a Room path connection!
 
Path GetPathInDirection (Direction direction)
 
void SetRoom (Room room)
 
Room GetRoom ()
 
List< PathGetPaths ()
 
List< QuadrantGetConnectedQuadrants ()
 
Vector2Int GetGridDistanceBetweenQuadrants (Quadrant quadrant)
 
void SetQuadrantGridPosition (Vector2Int positon)
 Assign the rooms position in the grid.
 
Vector2Int GetQuadrantGridPosition ()
 Gets the Vector2 position of this room on the map grid.
 
 Quadrant (Vector2Int position)
 
void CreatePath (Direction direction)
 
void RemoveConnection (Quadrant quadrant)
 
void CreatePathConnection (Quadrant previousQuadrant)
 Will link a path with the provided Quadrant based on its position.
 

Private Attributes

Vector2Int _gridPositon = new()
 
Path[] _paths
 
Room _room
 

Member Enumeration Documentation

◆ Direction

Enumerator
North 
East 
South 
West 

Constructor & Destructor Documentation

◆ Quadrant()

Slasher.Map.Quadrant.Quadrant ( Vector2Int position)

Member Function Documentation

◆ CreatePath()

void Slasher.Map.Quadrant.CreatePath ( Direction direction)
Here is the call graph for this function:

◆ CreatePathConnection()

void Slasher.Map.Quadrant.CreatePathConnection ( Quadrant previousQuadrant)

Will link a path with the provided Quadrant based on its position.

Here is the call graph for this function:

◆ GetConnectedQuadrants()

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

◆ GetGridDistanceBetweenQuadrants()

Vector2Int Slasher.Map.Quadrant.GetGridDistanceBetweenQuadrants ( Quadrant quadrant)
Here is the call graph for this function:

◆ GetPathInDirection()

Path Slasher.Map.Quadrant.GetPathInDirection ( Direction direction)

◆ GetPaths()

List< Path > Slasher.Map.Quadrant.GetPaths ( )

◆ GetQuadrantGridPosition()

Vector2Int Slasher.Map.Quadrant.GetQuadrantGridPosition ( )

Gets the Vector2 position of this room on the map grid.

◆ GetRoom()

Room Slasher.Map.Quadrant.GetRoom ( )

◆ RemoveConnection()

void Slasher.Map.Quadrant.RemoveConnection ( Quadrant quadrant)
Here is the call graph for this function:

◆ SetQuadrantGridPosition()

void Slasher.Map.Quadrant.SetQuadrantGridPosition ( Vector2Int positon)

Assign the rooms position in the grid.

◆ SetQuadrantPathLocation()

void Slasher.Map.Quadrant.SetQuadrantPathLocation ( Path path,
Direction direction )

Set a Room path connection!

North, East, South or West

Here is the call graph for this function:

◆ SetRoom()

void Slasher.Map.Quadrant.SetRoom ( Room room)

Member Data Documentation

◆ _gridPositon

Vector2Int Slasher.Map.Quadrant._gridPositon = new()
private

◆ _paths

Path [] Slasher.Map.Quadrant._paths
private

◆ _room

Room Slasher.Map.Quadrant._room
private

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