Drag[en]gine Script Module DragonScript
1.23
|
Behavior instance. More...
Public Member Functions | |
void | dispose () |
Dispose of behavior instance. More... | |
ECBehaviorActorMover.Instance | getActorMover () |
Actor mover behavior. More... | |
ECBehaviorActorMoverUnstuck | getECBehavior () |
Behavior. More... | |
bool | getEnabled () |
Enable unstucking. More... | |
float | getInterval () |
Update interval. More... | |
float | getThreshold () |
Distance threshold. More... | |
void | init (StubElement stub) |
Initialize from stub. More... | |
bool | isTracking () |
Behavior is tracking actor. More... | |
Instance | new (ECBehaviorActorMoverUnstuck ecbehavior, BehaviorElement element) |
Create behavior instance. More... | |
void | readFromFile (PersistencyEnvironment env, FileReader reader) |
Read behavior from file. More... | |
void | removeFromGameWorld () |
Remove element from game world. More... | |
void | setEnabled (bool enabled) |
Set if unstucking is enabled. More... | |
void | setInterval (float interval) |
Set interval. More... | |
void | setThreshold (float threshold) |
Set distance threshold. More... | |
void | startTracking () |
Start tracking. More... | |
void | stopTracking () |
Stop tracking. More... | |
void | think (float elapsed) |
Think about what to do for the next frame update. More... | |
void | unstuckActor () |
Unstuck actor. More... | |
void | update (float elapsed) |
Update tracking. More... | |
void | writeToFile (PersistencyEnvironment env, FileWriter writer) |
Write behavior 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... | |
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... | |
Public Attributes | |
ECBehaviorActorMover.Instance | pActorMover |
ECBehaviorActorMoverUnstuck | pECBehavior |
bool | pEnabled |
float | pExpectedDistance |
float | pInterval |
DVector | pLastPosition |
float | pMovedDistance |
float | pThreshold |
float | pUpdateElapsed |
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.ECBehaviorActorMoverUnstuck.Instance.dispose | ( | ) |
Dispose of behavior instance.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
ECBehaviorActorMover.Instance Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.getActorMover | ( | ) |
Actor mover behavior.
ECBehaviorActorMoverUnstuck Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.getECBehavior | ( | ) |
Behavior.
bool Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.getEnabled | ( | ) |
Enable unstucking.
float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.getInterval | ( | ) |
Update interval.
float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.getThreshold | ( | ) |
Distance threshold.
void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.init | ( | StubElement | stub | ) |
Initialize from stub.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
bool Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.isTracking | ( | ) |
Behavior is tracking actor.
Instance Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.new | ( | ECBehaviorActorMoverUnstuck | ecbehavior, |
BehaviorElement | element | ||
) |
Create behavior instance.
void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.readFromFile | ( | PersistencyEnvironment | env, |
FileReader | reader | ||
) |
Read behavior from file.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.removeFromGameWorld | ( | ) |
Remove element from game world.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.setEnabled | ( | bool | enabled | ) |
Set if unstucking is enabled.
void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.setInterval | ( | float | interval | ) |
Set interval.
void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.setThreshold | ( | float | threshold | ) |
Set distance threshold.
void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.startTracking | ( | ) |
Start tracking.
void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.stopTracking | ( | ) |
Stop tracking.
void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.think | ( | float | elapsed | ) |
Think about what to do for the next frame update.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.unstuckActor | ( | ) |
Unstuck actor.
void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.update | ( | float | elapsed | ) |
Update tracking.
void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.writeToFile | ( | PersistencyEnvironment | env, |
FileWriter | writer | ||
) |
Write behavior to file.
Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.
ECBehaviorActorMover.Instance Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pActorMover |
ECBehaviorActorMoverUnstuck Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pECBehavior |
bool Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pEnabled |
float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pExpectedDistance |
float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pInterval |
DVector Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pLastPosition |
float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pMovedDistance |
float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pThreshold |
float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pUpdateElapsed |