![]() |
ManiaMap.Godot
Procedural generation of metroidvania style maps for Godot .NET.
|
A room flag that can be set or toggled to alter the LayoutState
.
More...
Public Member Functions | |
override void | _ValidateProperty (Godot.Collections.Dictionary property) |
override void | AutoAssign (RoomNode2D room) |
Assigns the room and any auto assigned values to the object. More... | |
![]() | |
override void | _ValidateProperty (Godot.Collections.Dictionary property) |
Properties | |
bool | EditId [getset] |
If true, the Id property becomes editable in the inspector. More... | |
int | Id = -1 [getset] |
![]() | |
bool | AutoAssignCell = true [getset] |
int | Column [getset] |
RoomNode2D | Room [getset] |
The contained room. More... | |
IRoomNode | RoomNode [get] |
int | Row [getset] |
![]() | |
bool | AutoAssignCell [get] |
If true, the cell row and column indices will be automatically assigned when auto assign is run. Disable this flag if you wish to control these values manually. More... | |
int | Column [get] |
The cell column index. More... | |
IRoomNode | RoomNode [get] |
The containing room node. More... | |
int | Row [get] |
The cell row index. More... | |
![]() | |
int | Id [get] |
The unique flag ID. The ID must be unique within a room. More... | |
Private Member Functions | |
void | SetValidatedField< T > (ref T field, T value) |
Private Attributes | |
bool | _editId |
A room flag that can be set or toggled to alter the LayoutState
.
See IRoomFlagExtensions for additional methods usable by this class.
Definition at line 13 of file RoomFlag2D.cs.
override void _ValidateProperty | ( | Godot.Collections.Dictionary | property | ) |
Definition at line 30 of file RoomFlag2D.cs.
|
virtual |
Assigns the room and any auto assigned values to the object.
Reimplemented from CellChild2D.
Definition at line 43 of file RoomFlag2D.cs.
|
private |
Definition at line 24 of file RoomFlag2D.cs.
|
private |
Definition at line 15 of file RoomFlag2D.cs.
|
getset |
If true, the Id property becomes editable in the inspector.
Definition at line 19 of file RoomFlag2D.cs.
|
getset |
Definition at line 22 of file RoomFlag2D.cs.