ManiaMap.Godot
Procedural generation of metroidvania style maps for Godot .NET.
IDoorNode.cs
1using MPewsey.ManiaMap;
2
4{
8 public interface IDoorNode : ICellChild
9 {
14 public bool AutoAssignDirection { get; }
15
20
24 public DoorType DoorType { get; }
25
29 public int DoorCode { get; }
30
35 }
36}
The interface for elements tied to an IRoomNode's cell index.
Definition: ICellChild.cs:7
A possible door location connecting two IRoomNode.
Definition: IDoorNode.cs:9
DoorConnection DoorConnection
The door's door and room connection information.
Definition: IDoorNode.cs:34
bool AutoAssignDirection
If true, auto assigns the door direction based on its position when auto assign is run....
Definition: IDoorNode.cs:14
int DoorCode
The door code to which this door may connect. Door codes can connect if they intersect.
Definition: IDoorNode.cs:29
DoorDirection DoorDirection
The direction where the door leads relative to its containing cell.
Definition: IDoorNode.cs:19
DoorType DoorType
The door type. See the ManiaMap DoorType documentation for more information.
Definition: IDoorNode.cs:24