Drag[en]gine Script Module DragonScript
1.23
|
Behavior instance. More...
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... | |
Behavior instance.
void Dragengine.Scenery.ECBehaviorParameterTable.Instance.clearParameterValue | ( | String | parameter | ) |
Clear parameter value setting it to null.
void Dragengine.Scenery.ECBehaviorParameterTable.Instance.dispose | ( | ) |
Dispose of instance.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
ECBehaviorParameterTable Dragengine.Scenery.ECBehaviorParameterTable.Instance.getECBehavior | ( | ) |
Behavior.
ParameterTable Dragengine.Scenery.ECBehaviorParameterTable.Instance.getParameterTable | ( | ) |
Parameter table.
bool Dragengine.Scenery.ECBehaviorParameterTable.Instance.getParameterValue | ( | String | parameter, |
bool | defaultValue | ||
) |
Get boolean parameter value or default value if parameter is not set.
float Dragengine.Scenery.ECBehaviorParameterTable.Instance.getParameterValue | ( | String | parameter, |
float | defaultValue | ||
) |
Get floating point parameter value or default value if parameter is not set.
int Dragengine.Scenery.ECBehaviorParameterTable.Instance.getParameterValue | ( | String | parameter, |
int | defaultValue | ||
) |
Get integer parameter value or default value if parameter is not set.
Persistable Dragengine.Scenery.ECBehaviorParameterTable.Instance.getParameterValue | ( | String | parameter, |
Persistable | defaultValue | ||
) |
Get persistable parameter value or default value if parameter is not set.
String Dragengine.Scenery.ECBehaviorParameterTable.Instance.getParameterValue | ( | String | parameter, |
String | defaultValue | ||
) |
Get string parameter value or default value if parameter is not set.
void Dragengine.Scenery.ECBehaviorParameterTable.Instance.init | ( | StubElement | stub | ) |
Initialize element from stub.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
bool Dragengine.Scenery.ECBehaviorParameterTable.Instance.isParameterNotNull | ( | String | parameter | ) |
Parameter value is not null.
bool Dragengine.Scenery.ECBehaviorParameterTable.Instance.isParameterNull | ( | String | parameter | ) |
Parameter value is null.
Instance Dragengine.Scenery.ECBehaviorParameterTable.Instance.new | ( | ECBehaviorParameterTable | ecbehavior, |
BehaviorElement | element | ||
) |
Create instance.
void Dragengine.Scenery.ECBehaviorParameterTable.Instance.readFromFile | ( | PersistencyEnvironment | env, |
FileReader | reader | ||
) |
Read element from file.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorParameterTable.Instance.setParameterValue | ( | String | parameter, |
bool | value | ||
) |
Set boolean parameter value.
void Dragengine.Scenery.ECBehaviorParameterTable.Instance.setParameterValue | ( | String | parameter, |
float | value | ||
) |
Set floating point parameter value.
void Dragengine.Scenery.ECBehaviorParameterTable.Instance.setParameterValue | ( | String | parameter, |
int | value | ||
) |
Set integer parameter value.
void Dragengine.Scenery.ECBehaviorParameterTable.Instance.setParameterValue | ( | String | parameter, |
Persistable | value | ||
) |
Set persistable parameter value.
void Dragengine.Scenery.ECBehaviorParameterTable.Instance.setParameterValue | ( | String | parameter, |
String | value | ||
) |
Set string parameter value.
void Dragengine.Scenery.ECBehaviorParameterTable.Instance.writeToFile | ( | PersistencyEnvironment | env, |
FileWriter | writer | ||
) |
Write element to file.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
ECBehaviorParameterTable Dragengine.Scenery.ECBehaviorParameterTable.Instance.pECBehavior |
ParameterTable Dragengine.Scenery.ECBehaviorParameterTable.Instance.pParameterTable |