![]() |
ManiaMap.Godot
Procedural generation of metroidvania style maps for Godot .NET.
|
A possible collectable location within a RoomNode3D. More...
Public Member Functions | |
override void | _ValidateProperty (Godot.Collections.Dictionary property) |
override void | AutoAssign (RoomNode3D room) |
Assigns the room and any auto assigned values to the object. More... | |
![]() | |
override void | _ValidateProperty (Godot.Collections.Dictionary property) |
Properties | |
CollectableGroup | CollectableGroup [getset] |
bool | EditId [getset] |
If true, the Id property becomes editable in the inspector. More... | |
int | Id = -1 [getset] |
float | Weight = 1 [getset] |
![]() | |
bool | AutoAssignCell = true [getset] |
int | Column [getset] |
RoomNode3D | 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... | |
![]() | |
CollectableGroup | CollectableGroup [get] |
The assigned collectable group from which collectables will be procedurally pulled. More... | |
int | Id [get] |
The spot's unique ID. The ID must be unique within the scope of a room. More... | |
float | Weight [get] |
The manual draw weight assigned to the spot. A larger value increases the chance of the spot being used. More... | |
Private Member Functions | |
void | SetValidatedField< T > (ref T field, T value) |
Private Attributes | |
bool | _editId |
A possible collectable location within a RoomNode3D.
See ICollectableSpotExtensions for additional methods usable by this class.
Definition at line 13 of file CollectableSpot3D.cs.
override void _ValidateProperty | ( | Godot.Collections.Dictionary | property | ) |
Definition at line 36 of file CollectableSpot3D.cs.
|
virtual |
Assigns the room and any auto assigned values to the object.
Reimplemented from CellChild3D.
Definition at line 49 of file CollectableSpot3D.cs.
|
private |
Definition at line 30 of file CollectableSpot3D.cs.
|
private |
Definition at line 15 of file CollectableSpot3D.cs.
|
getset |
Definition at line 25 of file CollectableSpot3D.cs.
|
getset |
If true, the Id property becomes editable in the inspector.
Definition at line 19 of file CollectableSpot3D.cs.
|
getset |
Definition at line 22 of file CollectableSpot3D.cs.
|
getset |
Definition at line 28 of file CollectableSpot3D.cs.