Drag[en]gine Script Module DragonScript  1.23
Dragengine.Scenery.ECPInteger Class Reference

Integer value element class property for use with XML loading. More...

Inheritance diagram for Dragengine.Scenery.ECPInteger:
Dragengine.Scenery.ElementClassProperty

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...
 

Detailed Description

Integer value element class property for use with XML loading.

Member Function Documentation

◆ copyValue()

void Dragengine.Scenery.ECPInteger.copyValue ( ElementClass  elementClass,
ElementClassProperty  property 
)

Copy value from another element class property of the same type.

Version
1.17

◆ getEnableLimitLower()

bool Dragengine.Scenery.ECPInteger.getEnableLimitLower ( )

Enable lower limit.

◆ getEnableLimitUpper()

bool Dragengine.Scenery.ECPInteger.getEnableLimitUpper ( )

Enable upper limit.

◆ getLimitLower()

int Dragengine.Scenery.ECPInteger.getLimitLower ( )

Lower limit.

◆ getLimitUpper()

int Dragengine.Scenery.ECPInteger.getLimitUpper ( )

Upper limit.

◆ getValue() [1/2]

int Dragengine.Scenery.ECPInteger.getValue ( )

Value.

◆ getValue() [2/2]

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.

◆ new() [1/3]

ECPInteger Dragengine.Scenery.ECPInteger.new ( String  name,
int  value 
)

Create property.

◆ new() [2/3]

ECPInteger Dragengine.Scenery.ECPInteger.new ( String  name,
int  value,
int  lowerLimit 
)

Create property.

◆ new() [3/3]

ECPInteger Dragengine.Scenery.ECPInteger.new ( String  name,
int  value,
int  lowerLimit,
int  upperLimit 
)

Create property.

◆ setEnableLimitLower()

void Dragengine.Scenery.ECPInteger.setEnableLimitLower ( bool  enable)

Set enable lower limit.

◆ setEnableLimitUpper()

void Dragengine.Scenery.ECPInteger.setEnableLimitUpper ( bool  enable)

Set enable upper limit.

◆ setLimitLower()

void Dragengine.Scenery.ECPInteger.setLimitLower ( int  limit)

Set lower limit.

◆ setLimits()

void Dragengine.Scenery.ECPInteger.setLimits ( bool  enableLower,
int  limitLower,
bool  enableUpper,
int  limitUpper 
)

Set limits.

◆ setLimitUpper()

void Dragengine.Scenery.ECPInteger.setLimitUpper ( int  limit)

Set upper limit.

◆ setValue()

void Dragengine.Scenery.ECPInteger.setValue ( Object  value)

Set value of property from XML decoded value.

Reimplemented from Dragengine.Scenery.ElementClassProperty.


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