|
Drag[en]gine Script Module DragonScript 1.35
|
Point 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. | |
| Point | getPoint () |
| Point. | |
| Point | getPoint (StubWithProperties stub, CodecPropertyString codec) |
| Color modified by stub property if present. | |
| ECPPoint | new (String name) |
| Create property. | |
| ECPPoint | new (String name, Point point) |
| Create property with initial path. | |
| void | setPoint (Point point) |
| Set point. | |
| void | setValue (Object value) |
| Set value of property from XML decoded value. | |
| Public Member Functions inherited from Dragengine.Scenery.ElementClassProperty | |
| void | dispose () |
| Dispose of element class property to break reference loops. | |
| String | getName () |
| Name. | |
| bool | logPreloadProblems (ElementClass elementClass, Console console) |
| Log preloading problems. | |
| void | preloadResources (ElementClass elementClass, PreloadCounter counter) |
| Preload resources if supported. | |
| void Dragengine.Scenery.ECPPoint.copyValue | ( | ElementClass | elementClass, |
| ElementClassProperty | property ) |
Copy value from another element class property of the same type.
References copyValue(), setPoint(), and setValue().
Referenced by copyValue().
| Point Dragengine.Scenery.ECPPoint.getPoint | ( | ) |
Referenced by getPoint(), and setPoint().
| Point Dragengine.Scenery.ECPPoint.getPoint | ( | StubWithProperties | stub, |
| CodecPropertyString | codec ) |
Color modified by stub property if present.
If named stub property is not present or empty string the stored color is returned. If the named stub property is present it is decoded using codec.
The following property value formats are understood where "x" and "y" are integer values:
References getPoint().
| ECPPoint Dragengine.Scenery.ECPPoint.new | ( | String | name | ) |
Create property with initial path.
References new().
| void Dragengine.Scenery.ECPPoint.setPoint | ( | Point | point | ) |
| void Dragengine.Scenery.ECPPoint.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.
References setPoint().
Referenced by copyValue().