ManiaMap.Godot
Procedural generation of metroidvania style maps for Godot .NET.
CellChild3D Class Reference

The base class for elements tied to a RoomNode3D's cell index. More...

Inheritance diagram for CellChild3D:
ICellChild CollectableSpot3D DoorNode3D Feature3D RoomFlag3D

Public Member Functions

override void _ValidateProperty (Godot.Collections.Dictionary property)
 
virtual void AutoAssign (RoomNode3D room)
 Assigns the room and any auto assigned values to the object. More...
 

Properties

bool AutoAssignCell = true [getset]
 
int Column [getset]
 
RoomNode3D Room [getset]
 The contained room. More...
 
IRoomNode RoomNode [get]
 
int Row [getset]
 
- Properties inherited from ICellChild
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...
 

Detailed Description

The base class for elements tied to a RoomNode3D's cell index.

Definition at line 10 of file CellChild3D.cs.

Member Function Documentation

◆ _ValidateProperty()

override void _ValidateProperty ( Godot.Collections.Dictionary  property)

Definition at line 41 of file CellChild3D.cs.

◆ AutoAssign()

virtual void AutoAssign ( RoomNode3D  room)
virtual

Assigns the room and any auto assigned values to the object.

Parameters
roomThe containing room.

Reimplemented in CollectableSpot3D, DoorNode3D, and RoomFlag3D.

Definition at line 33 of file CellChild3D.cs.

Property Documentation

◆ AutoAssignCell

bool AutoAssignCell = true
getset

Definition at line 21 of file CellChild3D.cs.

◆ Column

int Column
getset

Definition at line 27 of file CellChild3D.cs.

◆ Room

RoomNode3D Room
getset

The contained room.

Definition at line 15 of file CellChild3D.cs.

◆ RoomNode

IRoomNode RoomNode
get

Definition at line 18 of file CellChild3D.cs.

◆ Row

int Row
getset

Definition at line 24 of file CellChild3D.cs.


The documentation for this class was generated from the following file: