Property | Type | Description | |
---|---|---|---|
angles | Point3 | ||
defaultNormal | Direction | ||
defaultRight | Direction | ||
deletable | bool | ||
facing | Point3 | ||
localPosition | FPoint3 | ||
owner | Puzzle |
Property | Type | Description | |
---|---|---|---|
AddProperties | void | ||
CreateInstance | Item | ||
FinishReadProperties | void | ||
FromAngleProperty | Point3 | ||
GetConnectionReceiver | |||
GetConnectionSender | ConnectionPointSender | ||
GetNode | P2CNode | ||
PrepareGetNode | void | ||
ReadItem | Item | ||
ReadProperties | void | ||
ReadProperty | void | ||
RegisterConnection | void | ||
RegisterConnection | void | ||
ToAngleProperty | Point3 |
Method | Description | |
---|---|---|
ToString ( ) : string |
Method | Description | |
---|---|---|
GetNormalFromWall ( Direction wall ) : Direction |
Gets a normal from a specified wall.
|
|
GetWall ( ) : Direction |
Gets the wall the item is currently on.
|
|
Item ( Puzzle owner ) : System |
Method | Description | |
---|---|---|
AddProperties ( P2CNode node ) : void |
Derived classes should add all non-default item properties to the node here.
|
|
CreateInstance ( Puzzle owner, string type ) : Item |
Creates an item of the specified item type (or a generic item if the type wasn't recognized).
|
|
FinishReadProperties ( ) : void |
Called when all properties have been read, so any initialization can happen.
|
|
FromAngleProperty ( Point3 prop ) : Point3 |
Read from YZX order to XYZ order.
|
|
GetConnectionReceiver ( string connectionType ) : |
||
GetConnectionSender ( ) : ConnectionPointSender | ||
GetNode ( ) : P2CNode |
Gets a P2CNode for saving.
|
|
PrepareGetNode ( ) : void |
Derived classes can override this to prepare data before saving.
|
|
ReadItem ( Puzzle owner, P2CNode node ) : Item |
Reads a P2CNode for an item.
|
|
ReadProperties ( P2CNode node, Item item ) : void |
Reads the properties in the node into the item.
|
|
ReadProperty ( P2CProperty property ) : void |
Reads a property that wasn't one of the default item properties.
|
|
RegisterConnection ( |
||
RegisterConnection ( ConnectionPointSender sender ) : void | ||
ToAngleProperty ( Point3 angles ) : Point3 |
Output in YZX order.
|
protected static GetNormalFromWall ( Direction wall ) : Direction | ||
wall | Direction | |
return | Direction |