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

Behavior instance. More...

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

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

Detailed Description

Behavior instance.

Member Function Documentation

◆ dispose()

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

Dispose of behavior instance.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ getActorMover()

ECBehaviorActorMover.Instance Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.getActorMover ( )

Actor mover behavior.

◆ getECBehavior()

ECBehaviorActorMoverUnstuck Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.getECBehavior ( )

Behavior.

◆ getEnabled()

bool Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.getEnabled ( )

Enable unstucking.

◆ getInterval()

float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.getInterval ( )

Update interval.

◆ getThreshold()

float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.getThreshold ( )

Distance threshold.

◆ init()

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

Initialize from stub.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ isTracking()

bool Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.isTracking ( )

Behavior is tracking actor.

◆ new()

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

Create behavior instance.

◆ readFromFile()

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

Read behavior from file.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ removeFromGameWorld()

void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.removeFromGameWorld ( )

Remove element from game world.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ setEnabled()

void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.setEnabled ( bool  enabled)

Set if unstucking is enabled.

◆ setInterval()

void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.setInterval ( float  interval)

Set interval.

◆ setThreshold()

void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.setThreshold ( float  threshold)

Set distance threshold.

◆ startTracking()

void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.startTracking ( )

Start tracking.

◆ stopTracking()

void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.stopTracking ( )

Stop tracking.

◆ think()

void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.think ( float  elapsed)

Think about what to do for the next frame update.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

◆ unstuckActor()

void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.unstuckActor ( )

Unstuck actor.

◆ update()

void Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.update ( float  elapsed)

Update tracking.

◆ writeToFile()

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

Write behavior to file.

Reimplemented from Dragengine.Scenery.DefaultECBehaviorInstance.

Member Data Documentation

◆ pActorMover

ECBehaviorActorMover.Instance Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pActorMover

◆ pECBehavior

ECBehaviorActorMoverUnstuck Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pECBehavior

◆ pEnabled

bool Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pEnabled

◆ pExpectedDistance

float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pExpectedDistance

◆ pInterval

float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pInterval

◆ pLastPosition

DVector Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pLastPosition

◆ pMovedDistance

float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pMovedDistance

◆ pThreshold

float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pThreshold

◆ pUpdateElapsed

float Dragengine.Scenery.ECBehaviorActorMoverUnstuck.Instance.pUpdateElapsed

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