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

Behavior instance. More...

Inheritance diagram for Dragengine.Scenery.ECBehaviorParameterTable.Instance:
Dragengine.Scenery.DefaultECBehaviorInstance Dragengine.Scenery.ECBehaviorInstance

Public Member Functions

void clearParameterValue (String parameter)
 Clear parameter value setting it to null. More...
 
void dispose ()
 Dispose of instance. More...
 
ECBehaviorParameterTable getECBehavior ()
 Behavior. More...
 
ParameterTable getParameterTable ()
 Parameter table. More...
 
bool getParameterValue (String parameter, bool defaultValue)
 Get boolean parameter value or default value if parameter is not set. More...
 
float getParameterValue (String parameter, float defaultValue)
 Get floating point parameter value or default value if parameter is not set. More...
 
int getParameterValue (String parameter, int defaultValue)
 Get integer parameter value or default value if parameter is not set. More...
 
Persistable getParameterValue (String parameter, Persistable defaultValue)
 Get persistable parameter value or default value if parameter is not set. More...
 
String getParameterValue (String parameter, String defaultValue)
 Get string parameter value or default value if parameter is not set. More...
 
void init (StubElement stub)
 Initialize element from stub. More...
 
bool isParameterNotNull (String parameter)
 Parameter value is not null. More...
 
bool isParameterNull (String parameter)
 Parameter value is null. More...
 
Instance new (ECBehaviorParameterTable ecbehavior, BehaviorElement element)
 Create instance. More...
 
void readFromFile (PersistencyEnvironment env, FileReader reader)
 Read element from file. More...
 
void setParameterValue (String parameter, bool value)
 Set boolean parameter value. More...
 
void setParameterValue (String parameter, float value)
 Set floating point parameter value. More...
 
void setParameterValue (String parameter, int value)
 Set integer parameter value. More...
 
void setParameterValue (String parameter, Persistable value)
 Set persistable parameter value. More...
 
void setParameterValue (String parameter, String value)
 Set string parameter value. More...
 
void writeToFile (PersistencyEnvironment env, FileWriter writer)
 Write element to file. More...
 
- Public Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance
void addToGameWorld ()
 Add element to game world. More...
 
void attachToParent (Element parent)
 Attach element to object set by the mapper in the IGDE World Editor. More...
 
void enterFrame ()
 Frame update started. More...
 
void geometryChanged ()
 Position or orientation changed. More...
 
BehaviorElement getElement ()
 Behavior element to apply behavior to. More...
 
int getInstanceIndex ()
 Behavior instance index. More...
 
DefaultECBehaviorInstance new (BehaviorElement element)
 Create default composeable instance. More...
 
void postThink (float elapsed)
 Post thinking after physics processing is finished. More...
 
void removeFromGameWorld ()
 Remove element from game world. More...
 
bool requiresEnterFrame ()
 Behavior instance requires enterFrame() to be called. More...
 
bool requiresThink ()
 Behavior instance requires think() to be called. More...
 
void stateChanged ()
 State changed (visble, touchable). More...
 
void think (float elapsed)
 Think about what to do for the next frame update. More...
 

Public Attributes

ECBehaviorParameterTable pECBehavior
 
ParameterTable pParameterTable
 

Additional Inherited Members

- Protected Member Functions inherited from Dragengine.Scenery.DefaultECBehaviorInstance
void setRequiresEnterFrame (bool required)
 Set if behavior instance requires enterFrame() to be called. More...
 
void setRequiresThink (bool required)
 Set if behavior instance requires think() to be called. More...
 

Detailed Description

Behavior instance.

Member Function Documentation

◆ clearParameterValue()

void Dragengine.Scenery.ECBehaviorParameterTable.Instance.clearParameterValue ( String  parameter)

Clear parameter value setting it to null.

◆ dispose()

void Dragengine.Scenery.ECBehaviorParameterTable.Instance.dispose ( )

Dispose of instance.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ getECBehavior()

ECBehaviorParameterTable Dragengine.Scenery.ECBehaviorParameterTable.Instance.getECBehavior ( )

Behavior.

◆ getParameterTable()

ParameterTable Dragengine.Scenery.ECBehaviorParameterTable.Instance.getParameterTable ( )

Parameter table.

◆ getParameterValue() [1/5]

bool Dragengine.Scenery.ECBehaviorParameterTable.Instance.getParameterValue ( String  parameter,
bool  defaultValue 
)

Get boolean parameter value or default value if parameter is not set.

◆ getParameterValue() [2/5]

float Dragengine.Scenery.ECBehaviorParameterTable.Instance.getParameterValue ( String  parameter,
float  defaultValue 
)

Get floating point parameter value or default value if parameter is not set.

◆ getParameterValue() [3/5]

int Dragengine.Scenery.ECBehaviorParameterTable.Instance.getParameterValue ( String  parameter,
int  defaultValue 
)

Get integer parameter value or default value if parameter is not set.

◆ getParameterValue() [4/5]

Persistable Dragengine.Scenery.ECBehaviorParameterTable.Instance.getParameterValue ( String  parameter,
Persistable  defaultValue 
)

Get persistable parameter value or default value if parameter is not set.

◆ getParameterValue() [5/5]

String Dragengine.Scenery.ECBehaviorParameterTable.Instance.getParameterValue ( String  parameter,
String  defaultValue 
)

Get string parameter value or default value if parameter is not set.

◆ init()

void Dragengine.Scenery.ECBehaviorParameterTable.Instance.init ( StubElement  stub)

Initialize element from stub.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ isParameterNotNull()

bool Dragengine.Scenery.ECBehaviorParameterTable.Instance.isParameterNotNull ( String  parameter)

Parameter value is not null.

◆ isParameterNull()

bool Dragengine.Scenery.ECBehaviorParameterTable.Instance.isParameterNull ( String  parameter)

Parameter value is null.

◆ new()

Instance Dragengine.Scenery.ECBehaviorParameterTable.Instance.new ( ECBehaviorParameterTable  ecbehavior,
BehaviorElement  element 
)

Create instance.

◆ readFromFile()

void Dragengine.Scenery.ECBehaviorParameterTable.Instance.readFromFile ( PersistencyEnvironment  env,
FileReader  reader 
)

Read element from file.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ setParameterValue() [1/5]

void Dragengine.Scenery.ECBehaviorParameterTable.Instance.setParameterValue ( String  parameter,
bool  value 
)

Set boolean parameter value.

◆ setParameterValue() [2/5]

void Dragengine.Scenery.ECBehaviorParameterTable.Instance.setParameterValue ( String  parameter,
float  value 
)

Set floating point parameter value.

◆ setParameterValue() [3/5]

void Dragengine.Scenery.ECBehaviorParameterTable.Instance.setParameterValue ( String  parameter,
int  value 
)

Set integer parameter value.

◆ setParameterValue() [4/5]

void Dragengine.Scenery.ECBehaviorParameterTable.Instance.setParameterValue ( String  parameter,
Persistable  value 
)

Set persistable parameter value.

◆ setParameterValue() [5/5]

void Dragengine.Scenery.ECBehaviorParameterTable.Instance.setParameterValue ( String  parameter,
String  value 
)

Set string parameter value.

◆ writeToFile()

void Dragengine.Scenery.ECBehaviorParameterTable.Instance.writeToFile ( PersistencyEnvironment  env,
FileWriter  writer 
)

Write element to file.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

Member Data Documentation

◆ pECBehavior

ECBehaviorParameterTable Dragengine.Scenery.ECBehaviorParameterTable.Instance.pECBehavior

◆ pParameterTable

ParameterTable Dragengine.Scenery.ECBehaviorParameterTable.Instance.pParameterTable

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