Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.BaseActorClass Class Reference

Actor element class. More...

Inheritance diagram for Dragengine.Scenery.BaseActorClass:
Dragengine.Scenery.BehaviorElementClass Dragengine.Scenery.ElementClass Dragengine.ResourceListener Dragengine.Scenery.BaseVRActorClass

Public Member Functions

ECBehaviorActorAnimated getActorAnimated ()
 Actor animated behavior. More...
 
ECBehaviorActorMover getActorMover ()
 Actor mover behavior. More...
 
ECBehaviorActorAIAction getAIAction ()
 AI-Action behavior. More...
 
ECBehaviorAlignActor getAlignActor ()
 Align actor behavior. More...
 
ECBehaviorAvoidCollision getAvoidCollision ()
 Avoid collision behavior. More...
 
ECBehaviorAvoidedByActor getAvoidedByActor ()
 Avoided by actor behavior. More...
 
ECBehaviorCollider getCollider ()
 Collider behavior. More...
 
ECBehaviorColliderAI getColliderAI ()
 Collider AI behavior. More...
 
ECBehaviorComponent getComponent ()
 Component behavior. More...
 
ECBehaviorConversationActor getConversationActor ()
 Conversation actor behavior. More...
 
ECBCTRRBindings getCTRRBindings ()
 Binding tag resolver for conversation actor behavior. More...
 
ECBehaviorFootSteps getFootSteps ()
 Foot steps behavior. More...
 
ECBehaviorLocomotion getLocomotion ()
 Locomotion behavior. More...
 
ECBehaviorNavigator getNavigator ()
 Navigator behavior. More...
 
ECBehaviorParameterTable getParameterTable ()
 Parameter table behavior. More...
 
ECBehaviorPlayerControllable getPlayerControllable ()
 Player controllable behavior. More...
 
ECBehaviorPlayerInputCrouch getPlayerInputCrouch ()
 Player input crouching behavior. More...
 
ECBehaviorPlayerInputLook getPlayerInputLook ()
 Player input looking around behavior. More...
 
ECBehaviorPlayerInputMove getPlayerInputMove ()
 Player input moving behavior. More...
 
ECBehaviorPlayerInputTurn getPlayerInputTurn ()
 Player input turning behavior. More...
 
ECBehaviorProjectToGround getProjectToGround ()
 Project to ground behavior. More...
 
ECBehaviorRideOn getRideOn ()
 Ride on behavior. More...
 
BaseActorClass new ()
 Create element class using loaders from BaseGameApp. More...
 
BaseActorClass new (Loaders loaders, ECBehaviorPlayerControllable.Tracker tracker)
 Create element class. More...
 
BaseActorClass new (String className)
 Create element class using loaders from BaseGameApp. More...
 
BaseActorClass new (String className, Loaders loaders, ECBehaviorPlayerControllable.Tracker tracker)
 Create element class. More...
 
- Public Member Functions inherited from Dragengine.Scenery.BehaviorElementClass
void addBehavior (ECBehavior behavior)
 Add behavior. More...
 
void addPrepareStubBehavior (BehaviorPrepareStub behavior)
 Add behavior to be notified before initialization is done. More...
 
Array collectBehaviors (Block ablock)
 Collect behaviors with block into Array. More...
 
void createAndAddElement (StubElement stub, GameWorld gameWorld)
 Create element from given stub and add it to game world. More...
 
void dispose ()
 Dispose of element class. More...
 
ECBehavior findBehavior (Block ablock)
 Find behavior with block. More...
 
void forEachBehavior (Block ablock)
 Visit behaviors with block. More...
 
void forEachBehaviorDirect (Block ablock)
 Visit behaviors with block. More...
 
ECBehavior getBehaviorAt (int index)
 Behavior at index. More...
 
BehaviorElementClass new (Loaders loaders)
 Create element class. More...
 
BehaviorElementClass new (String className, Loaders loaders)
 Create element class. More...
 
- Public Member Functions inherited from Dragengine.Scenery.ElementClass
void addProperty (ElementClassProperty property)
 Add property. More...
 
void copyPropertyValues (ElementClass eclass)
 Copy values of properties from another class to properties of this class. More...
 
Element createElement (StubElement stub)
 Create element instance from stub. More...
 
ElementClass duplicateNamed (String classname)
 Create duplicate of class with new name. More...
 
bool equals (Object obj)
 Element class is equal to another object. More...
 
void failedLoading (String path, ResourceLoaderType resourceType)
 Resource failed loading. More...
 
void finishedLoading (String path, ResourceLoaderType resourceType, Object resource)
 Resource finished loading successfully. More...
 
void forEachProperty (Block ablock)
 Visit properties with block with parameter ElementClass. More...
 
String getBasePath ()
 Base path for relative loading of resource properties. More...
 
CodecPropertyString getCodecPropertyString ()
 Property codec helper. More...
 
bool getIsXmlElementClass ()
 Element class is an XML element class. More...
 
bool getPersistable ()
 Element class is persistable to file writers. More...
 
int getPropertyCount ()
 Number of properties. More...
 
ElementClassProperty getPropertyNamed (String name)
 Named property or null if absent. More...
 
Array getPropertyNames ()
 List of property names as array of strings. More...
 
TSTriggerExpressionParser getTriggerExpressionParser ()
 Trigger expression parser. More...
 
int hashCode ()
 Hash code. More...
 
bool hasPropertyNamed (String name)
 Named property is present. More...
 
Object injectProperty (Object injectValue, Block ablock)
 Process value visiting properties. More...
 
void loadAndAddElement (PersistencyEnvironment env, StubElement stub, FileReader reader, GameWorld gameWorld)
 Load element from file reader and add it to game world. More...
 
Element loadElement (PersistencyEnvironment env, StubElement stub, FileReader reader)
 Load element from file reader. More...
 
void removeAllProperties ()
 Remove all properties. More...
 
void removeProperty (ElementClassProperty property)
 Remove property. More...
 
void setBasePath (String path)
 Set base path for relative loading of resource properties. More...
 
void setIsXmlElementClass (bool isXmlElementClass)
 Set if element class is an XML element class. More...
 
void setPersistable (bool persistable)
 Set element class is persistable to file writers. More...
 
void setPropertyValue (String name, Object value)
 Set value of named property. More...
 
Notification

Public Attributes

ECBehaviorActorAnimated pActorAnimated
 
ECBehaviorActorMover pActorMover
 
ECBehaviorActorAIAction pAIAction
 
ECBehaviorAlignActor pAlignActor
 
ECBehaviorAvoidCollision pAvoidCollision
 
ECBehaviorAvoidedByActor pAvoidedByActor
 
ECBehaviorCollider pCollider
 
ECBehaviorColliderAI pColliderAI
 
ECBehaviorComponent pComponent
 
ECBehaviorConversationActor pConversationActor
 
ECBCTRRBindings pCTRRBindings
 
ECBehaviorFootSteps pFootSteps
 
ECBehaviorLocomotion pLocomotion
 
ECBehaviorNavigator pNavigator
 
ECBehaviorParameterTable pParameterTable
 
ECBehaviorPlayerControllable pPlayerControllable
 
ECBehaviorPlayerInputCrouch pPlayerInputCrouch
 
ECBehaviorPlayerInputLook pPlayerInputLook
 
ECBehaviorPlayerInputMove pPlayerInputMove
 
ECBehaviorPlayerInputTurn pPlayerInputTurn
 
ECBehaviorProjectToGround pProjectToGround
 
ECBehaviorRideOn pRideOn
 

Protected Member Functions

Element createElement ()
 Create element instance. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Dragengine.Scenery.ElementClass
static CodecPropertyString getSharedCodecPropertyString ()
 Shared property codec helper. More...
 
static TSTriggerExpressionParser getSharedTriggerExpressionParser ()
 Shared trigger expression parser. More...
 
static void setSharedCodecPropertyString (CodecPropertyString codec)
 Set shared property codec helper. More...
 
static void setSharedTriggerExpressionParser (TSTriggerExpressionParser parser)
 Set shared trigger expression parser. More...
 

Detailed Description

Actor element class.

Member Function Documentation

◆ createElement()

Element Dragengine.Scenery.BaseActorClass.createElement ( )
protected

Create element instance.

Reimplemented from Dragengine.Scenery.BehaviorElementClass.

Reimplemented in Dragengine.Scenery.BaseVRActorClass.

◆ getActorAnimated()

ECBehaviorActorAnimated Dragengine.Scenery.BaseActorClass.getActorAnimated ( )

Actor animated behavior.

◆ getActorMover()

ECBehaviorActorMover Dragengine.Scenery.BaseActorClass.getActorMover ( )

Actor mover behavior.

◆ getAIAction()

ECBehaviorActorAIAction Dragengine.Scenery.BaseActorClass.getAIAction ( )

AI-Action behavior.

◆ getAlignActor()

ECBehaviorAlignActor Dragengine.Scenery.BaseActorClass.getAlignActor ( )

Align actor behavior.

◆ getAvoidCollision()

ECBehaviorAvoidCollision Dragengine.Scenery.BaseActorClass.getAvoidCollision ( )

Avoid collision behavior.

◆ getAvoidedByActor()

ECBehaviorAvoidedByActor Dragengine.Scenery.BaseActorClass.getAvoidedByActor ( )

Avoided by actor behavior.

◆ getCollider()

ECBehaviorCollider Dragengine.Scenery.BaseActorClass.getCollider ( )

Collider behavior.

◆ getColliderAI()

ECBehaviorColliderAI Dragengine.Scenery.BaseActorClass.getColliderAI ( )

Collider AI behavior.

◆ getComponent()

ECBehaviorComponent Dragengine.Scenery.BaseActorClass.getComponent ( )

Component behavior.

◆ getConversationActor()

ECBehaviorConversationActor Dragengine.Scenery.BaseActorClass.getConversationActor ( )

Conversation actor behavior.

◆ getCTRRBindings()

ECBCTRRBindings Dragengine.Scenery.BaseActorClass.getCTRRBindings ( )

Binding tag resolver for conversation actor behavior.

◆ getFootSteps()

ECBehaviorFootSteps Dragengine.Scenery.BaseActorClass.getFootSteps ( )

Foot steps behavior.

◆ getLocomotion()

ECBehaviorLocomotion Dragengine.Scenery.BaseActorClass.getLocomotion ( )

Locomotion behavior.

◆ getNavigator()

ECBehaviorNavigator Dragengine.Scenery.BaseActorClass.getNavigator ( )

Navigator behavior.

◆ getParameterTable()

ECBehaviorParameterTable Dragengine.Scenery.BaseActorClass.getParameterTable ( )

Parameter table behavior.

◆ getPlayerControllable()

ECBehaviorPlayerControllable Dragengine.Scenery.BaseActorClass.getPlayerControllable ( )

Player controllable behavior.

◆ getPlayerInputCrouch()

ECBehaviorPlayerInputCrouch Dragengine.Scenery.BaseActorClass.getPlayerInputCrouch ( )

Player input crouching behavior.

◆ getPlayerInputLook()

ECBehaviorPlayerInputLook Dragengine.Scenery.BaseActorClass.getPlayerInputLook ( )

Player input looking around behavior.

◆ getPlayerInputMove()

ECBehaviorPlayerInputMove Dragengine.Scenery.BaseActorClass.getPlayerInputMove ( )

Player input moving behavior.

◆ getPlayerInputTurn()

ECBehaviorPlayerInputTurn Dragengine.Scenery.BaseActorClass.getPlayerInputTurn ( )

Player input turning behavior.

◆ getProjectToGround()

ECBehaviorProjectToGround Dragengine.Scenery.BaseActorClass.getProjectToGround ( )

Project to ground behavior.

◆ getRideOn()

ECBehaviorRideOn Dragengine.Scenery.BaseActorClass.getRideOn ( )

Ride on behavior.

◆ new() [1/4]

BaseActorClass Dragengine.Scenery.BaseActorClass.new ( )

Create element class using loaders from BaseGameApp.

Reimplemented from Dragengine.Scenery.BehaviorElementClass.

Reimplemented in Dragengine.Scenery.BaseVRActorClass.

◆ new() [2/4]

BaseActorClass Dragengine.Scenery.BaseActorClass.new ( Loaders  loaders,
ECBehaviorPlayerControllable.Tracker  tracker 
)

Create element class.

Reimplemented in Dragengine.Scenery.BaseVRActorClass.

◆ new() [3/4]

BaseActorClass Dragengine.Scenery.BaseActorClass.new ( String  className)

Create element class using loaders from BaseGameApp.

Reimplemented from Dragengine.Scenery.BehaviorElementClass.

Reimplemented in Dragengine.Scenery.BaseVRActorClass.

◆ new() [4/4]

BaseActorClass Dragengine.Scenery.BaseActorClass.new ( String  className,
Loaders  loaders,
ECBehaviorPlayerControllable.Tracker  tracker 
)

Create element class.

Reimplemented in Dragengine.Scenery.BaseVRActorClass.

Member Data Documentation

◆ pActorAnimated

ECBehaviorActorAnimated Dragengine.Scenery.BaseActorClass.pActorAnimated

◆ pActorMover

ECBehaviorActorMover Dragengine.Scenery.BaseActorClass.pActorMover

◆ pAIAction

ECBehaviorActorAIAction Dragengine.Scenery.BaseActorClass.pAIAction

◆ pAlignActor

ECBehaviorAlignActor Dragengine.Scenery.BaseActorClass.pAlignActor

◆ pAvoidCollision

ECBehaviorAvoidCollision Dragengine.Scenery.BaseActorClass.pAvoidCollision

◆ pAvoidedByActor

ECBehaviorAvoidedByActor Dragengine.Scenery.BaseActorClass.pAvoidedByActor

◆ pCollider

ECBehaviorCollider Dragengine.Scenery.BaseActorClass.pCollider

◆ pColliderAI

ECBehaviorColliderAI Dragengine.Scenery.BaseActorClass.pColliderAI

◆ pComponent

ECBehaviorComponent Dragengine.Scenery.BaseActorClass.pComponent

◆ pConversationActor

ECBehaviorConversationActor Dragengine.Scenery.BaseActorClass.pConversationActor

◆ pCTRRBindings

ECBCTRRBindings Dragengine.Scenery.BaseActorClass.pCTRRBindings

◆ pFootSteps

ECBehaviorFootSteps Dragengine.Scenery.BaseActorClass.pFootSteps

◆ pLocomotion

ECBehaviorLocomotion Dragengine.Scenery.BaseActorClass.pLocomotion

◆ pNavigator

ECBehaviorNavigator Dragengine.Scenery.BaseActorClass.pNavigator

◆ pParameterTable

ECBehaviorParameterTable Dragengine.Scenery.BaseActorClass.pParameterTable

◆ pPlayerControllable

ECBehaviorPlayerControllable Dragengine.Scenery.BaseActorClass.pPlayerControllable

◆ pPlayerInputCrouch

ECBehaviorPlayerInputCrouch Dragengine.Scenery.BaseActorClass.pPlayerInputCrouch

◆ pPlayerInputLook

ECBehaviorPlayerInputLook Dragengine.Scenery.BaseActorClass.pPlayerInputLook

◆ pPlayerInputMove

ECBehaviorPlayerInputMove Dragengine.Scenery.BaseActorClass.pPlayerInputMove

◆ pPlayerInputTurn

ECBehaviorPlayerInputTurn Dragengine.Scenery.BaseActorClass.pPlayerInputTurn

◆ pProjectToGround

ECBehaviorProjectToGround Dragengine.Scenery.BaseActorClass.pProjectToGround

◆ pRideOn

ECBehaviorRideOn Dragengine.Scenery.BaseActorClass.pRideOn

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