Drag[en]gine Script Module DragonScript
1.23
|
Integer value 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... | |
bool | getEnableLimitLower () |
Enable lower limit. More... | |
bool | getEnableLimitUpper () |
Enable upper limit. More... | |
int | getLimitLower () |
Lower limit. More... | |
int | getLimitUpper () |
Upper limit. More... | |
int | getValue () |
Value. More... | |
int | getValue (StubWithProperties stub) |
Integer value modified by stub property if present. More... | |
ECPInteger | new (String name, int value) |
Create property. More... | |
ECPInteger | new (String name, int value, int lowerLimit) |
Create property. More... | |
ECPInteger | new (String name, int value, int lowerLimit, int upperLimit) |
Create property. More... | |
void | setEnableLimitLower (bool enable) |
Set enable lower limit. More... | |
void | setEnableLimitUpper (bool enable) |
Set enable upper limit. More... | |
void | setLimitLower (int limit) |
Set lower limit. More... | |
void | setLimits (bool enableLower, int limitLower, bool enableUpper, int limitUpper) |
Set limits. More... | |
void | setLimitUpper (int limit) |
Set upper limit. 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... | |
Integer value element class property for use with XML loading.
void Dragengine.Scenery.ECPInteger.copyValue | ( | ElementClass | elementClass, |
ElementClassProperty | property | ||
) |
Copy value from another element class property of the same type.
bool Dragengine.Scenery.ECPInteger.getEnableLimitLower | ( | ) |
Enable lower limit.
bool Dragengine.Scenery.ECPInteger.getEnableLimitUpper | ( | ) |
Enable upper limit.
int Dragengine.Scenery.ECPInteger.getLimitLower | ( | ) |
Lower limit.
int Dragengine.Scenery.ECPInteger.getLimitUpper | ( | ) |
Upper limit.
int Dragengine.Scenery.ECPInteger.getValue | ( | ) |
Value.
int Dragengine.Scenery.ECPInteger.getValue | ( | StubWithProperties | stub | ) |
Integer value modified by stub property if present.
If named stub property is not present or empty string the stored value is returned. If the named stub property is present it is returned.
ECPInteger Dragengine.Scenery.ECPInteger.new | ( | String | name, |
int | value | ||
) |
Create property.
ECPInteger Dragengine.Scenery.ECPInteger.new | ( | String | name, |
int | value, | ||
int | lowerLimit | ||
) |
Create property.
ECPInteger Dragengine.Scenery.ECPInteger.new | ( | String | name, |
int | value, | ||
int | lowerLimit, | ||
int | upperLimit | ||
) |
Create property.
void Dragengine.Scenery.ECPInteger.setEnableLimitLower | ( | bool | enable | ) |
Set enable lower limit.
void Dragengine.Scenery.ECPInteger.setEnableLimitUpper | ( | bool | enable | ) |
Set enable upper limit.
void Dragengine.Scenery.ECPInteger.setLimitLower | ( | int | limit | ) |
Set lower limit.
void Dragengine.Scenery.ECPInteger.setLimits | ( | bool | enableLower, |
int | limitLower, | ||
bool | enableUpper, | ||
int | limitUpper | ||
) |
Set limits.
void Dragengine.Scenery.ECPInteger.setLimitUpper | ( | int | limit | ) |
Set upper limit.
void Dragengine.Scenery.ECPInteger.setValue | ( | Object | value | ) |
Set value of property from XML decoded value.
Reimplemented from Dragengine.Scenery.ElementClassProperty.