Drag[en]gine Script Module DragonScript
1.23
|
Shape list element class property for use with XML loading. More...
Public Member Functions | |
void | copyValue (ElementClass elementClass, ElementClassProperty property) |
Copy value from another element class property of the same type. More... | |
CodecPropertyString | getCodec () |
Coded used to decode shape string. More... | |
ShapeList | getShapeList () |
Shape list. More... | |
ShapeList | getShapeList (StubWithProperties stub) |
Shape list modified by stub property if present. More... | |
ShapeList | getShapeList (StubWithProperties stub, String name) |
Shape list modified by stub property if present. More... | |
String | getShapeListString () |
Shape list string. More... | |
ECPShapeList | new (String name, CodecPropertyString codec) |
Create property. More... | |
ECPShapeList | new (String name, CodecPropertyString codec, ShapeList shapeList) |
Create property with initial path. More... | |
void | setShapeList (ShapeList shape) |
Set shape. More... | |
void | setShapeListFromString (String string) |
Set shape list from shape string. More... | |
void | setValue (Object value) |
Set value of property from XML decoded value. More... | |
Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty | |
void | dispose () |
Dispose of element class property to break reference loops. More... | |
String | getName () |
Name. More... | |
bool | logPreloadProblems (ElementClass elementClass, Console console) |
Log preloading problems. More... | |
ElementClassProperty | new (String name) |
Create property. More... | |
void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
Preload resources if supported. More... | |
Shape list element class property for use with XML loading.
Shape list is stored as ShapeList instance. From XML the shape list is read using an encoded string decoded using CodecPropertyString.
void Dragengine.Scenery.ECPShapeList.copyValue | ( | ElementClass | elementClass, |
ElementClassProperty | property | ||
) |
Copy value from another element class property of the same type.
CodecPropertyString Dragengine.Scenery.ECPShapeList.getCodec | ( | ) |
Coded used to decode shape string.
ShapeList Dragengine.Scenery.ECPShapeList.getShapeList | ( | ) |
Shape list.
ShapeList Dragengine.Scenery.ECPShapeList.getShapeList | ( | StubWithProperties | stub | ) |
Shape list modified by stub property if present.
If named stub property is not present the stored shape list is returned. If the named stub property is present it is decoded using the stored decoder and the result returned.
Uses the stored property name as stub property name.
ShapeList Dragengine.Scenery.ECPShapeList.getShapeList | ( | StubWithProperties | stub, |
String | name | ||
) |
Shape list modified by stub property if present.
If named stub property is not present the stored shape list is returned. If the named stub property is present it is decoded using the stored decoder and the result returned.
String Dragengine.Scenery.ECPShapeList.getShapeListString | ( | ) |
Shape list string.
ECPShapeList Dragengine.Scenery.ECPShapeList.new | ( | String | name, |
CodecPropertyString | codec | ||
) |
Create property.
ECPShapeList Dragengine.Scenery.ECPShapeList.new | ( | String | name, |
CodecPropertyString | codec, | ||
ShapeList | shapeList | ||
) |
Create property with initial path.
void Dragengine.Scenery.ECPShapeList.setShapeList | ( | ShapeList | shape | ) |
Set shape.
void Dragengine.Scenery.ECPShapeList.setShapeListFromString | ( | String | string | ) |
Set shape list from shape string.
void Dragengine.Scenery.ECPShapeList.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.