The Cursed Labyrinth
Loading...
Searching...
No Matches
Room Class Referencesealed

Immutable room bounds/center plus a mutable RoomInfo payload. More...

Public Member Functions

 Room (int id, RectInt bounds)

Properties

int Id [get]
RectInt Bounds [get]
Vector2Int Center [get]
RoomInfo Info = new RoomInfo() [get]

Detailed Description

Immutable room bounds/center plus a mutable RoomInfo payload.

Constructor & Destructor Documentation

◆ Room()

Room.Room ( int id,
RectInt bounds )

Property Documentation

◆ Bounds

RectInt Room.Bounds
get

◆ Center

Vector2Int Room.Center
get

◆ Id

int Room.Id
get

◆ Info

RoomInfo Room.Info = new RoomInfo()
get

The documentation for this class was generated from the following file:
  • Assets/Scripts/Dungeon/GridAndIndexing/Room.cs