ManiaMap.Godot
Procedural generation of metroidvania style maps for Godot .NET.
IRoomNode.cs
1using MPewsey.ManiaMap;
2
4{
8 public interface IRoomNode
9 {
14
18 public int Rows { get; set; }
19
23 public int Columns { get; set; }
24
28 public Godot.Collections.Array<Godot.Collections.Array<bool>> ActiveCells { get; set; }
29
33 public LayoutPack LayoutPack { get; }
34
38 public Room RoomLayout { get; }
39
43 public RoomState RoomState { get; }
44
48 public bool IsInitialized { get; }
49 }
50}
Holds the current Layout and LayoutState.
Definition: LayoutPack.cs:13
Provides a reference to a room scene and information for the room required by the procedural generato...
The interface for a room node.
Definition: IRoomNode.cs:9
Godot.Collections.Array< Godot.Collections.Array< bool > > ActiveCells
A nested array of room cell activities.
Definition: IRoomNode.cs:28
Room RoomLayout
This room's layout.
Definition: IRoomNode.cs:38
RoomTemplateResource RoomTemplate
The room template used by the procedural generator.
Definition: IRoomNode.cs:13
int Rows
The number or cell rows in the room.
Definition: IRoomNode.cs:18
RoomState RoomState
This room's layout state.
Definition: IRoomNode.cs:43
int Columns
The number of cell columns in the room.
Definition: IRoomNode.cs:23
bool IsInitialized
True if the room has been initialized.
Definition: IRoomNode.cs:48