|
| void | addBehaviorFactories () |
| | Add behavior factories supported by this element class.
|
| |
| ElementClass | duplicateNamed (String classname) |
| | Create copy of element class.
|
| |
| ECBehaviorActorAnimated | getActorAnimated () |
| | Actor animated behavior.
|
| |
| ECBehaviorActorMover | getActorMover () |
| | Actor mover behavior.
|
| |
| ECBehaviorActorAIAction | getAIAction () |
| | AI-Action behavior.
|
| |
| ECBehaviorAlignActor | getAlignActor () |
| | Align actor behavior.
|
| |
| ECBehaviorAvoidCollision | getAvoidCollision () |
| | Avoid collision behavior.
|
| |
| ECBehaviorAvoidedByActor | getAvoidedByActor () |
| | Avoided by actor behavior.
|
| |
| ECBehaviorBehaviorTree | getBehaviorTree () |
| | Behavior tree.
|
| |
| ECBehaviorCollider | getCollider () |
| | Collider behavior.
|
| |
| ECBehaviorColliderAI | getColliderAI () |
| | Collider AI behavior.
|
| |
| ECBehaviorComponent | getComponent () |
| | Component behavior.
|
| |
| ECBehaviorConversationActor | getConversationActor () |
| | Conversation actor behavior.
|
| |
| ECBCTRRBindings | getCTRRBindings () |
| | Binding tag resolver for conversation actor behavior.
|
| |
| CollisionFilter | getDynamicCollisionFilter () |
| | Dynamic collider collision filter for (not AI collider).
|
| |
| ECBehaviorFootSteps | getFootSteps () |
| | Foot steps behavior.
|
| |
| ECBehaviorInteractionElement | getInteractionElement () |
| | Interact element.
|
| |
| CollisionFilter | getKinematicCollisionFilter () |
| | Kinematic collider collision filter for (not AI collider).
|
| |
| ECBehaviorLocomotion | getLocomotion () |
| | Locomotion behavior.
|
| |
| ECBehaviorNavigator | getNavigator () |
| | Navigator behavior.
|
| |
| ECBehaviorParameterTable | getParameterTable () |
| | Parameter table behavior.
|
| |
| ECBehaviorPlayerControllable | getPlayerControllable () |
| | Player controllable behavior.
|
| |
| ECBehaviorPlayerInputCrouch | getPlayerInputCrouch () |
| | Player input crouching behavior.
|
| |
| ECBehaviorPlayerInputLook | getPlayerInputLook () |
| | Player input looking around behavior.
|
| |
| ECBehaviorPlayerInputMove | getPlayerInputMove () |
| | Player input moving behavior.
|
| |
| ECBehaviorPlayerInputTurn | getPlayerInputTurn () |
| | Player input turning behavior.
|
| |
| ECBehaviorProjectToGround | getProjectToGround () |
| | Project to ground behavior.
|
| |
| ECBehaviorRideOn | getRideOn () |
| | Ride on behavior.
|
| |
| ECBehaviorStateMachine | getStateMachine () |
| | State machine.
|
| |
| BaseActorClass | new () |
| | Create element class using loaders from BaseGameApp.
|
| |
| BaseActorClass | new (Loaders loaders, ECBehaviorPlayerControllable.Tracker tracker) |
| | Create element class.
|
| |
| BaseActorClass | new (String className) |
| | Create element class using loaders from BaseGameApp.
|
| |
| BaseActorClass | new (String className, Loaders loaders, ECBehaviorPlayerControllable.Tracker tracker) |
| | Create element class.
|
| |
| void | addAttachableBehaviorFactories () |
| | Add attachable behavior factories supported by this element class.
|
| |
| void | addAttachableBehaviorFactories (AttachableBehaviorFactoryList factories) |
| | Add attachable behavior factories replacing duplicates if present.
|
| |
| void | addAttachableBehaviorFactory (AttachableBehaviorFactory factory) |
| | Add attachable behavior factory replacing duplicate if present.
|
| |
| void | addBehavior (ECBehavior behavior) |
| | Add behavior.
|
| |
| void | addBehaviorFactories (BehaviorFactoryList factories) |
| | Add behavior factories replacing duplicates if present.
|
| |
| void | addDefaultAttachableBehaviorFactories () |
| | Add all attachable behavior factories present in the DragonScript module.
|
| |
| void | addDefaultBehaviorFactories () |
| | Add all behavior factories present in the DragonScript module.
|
| |
| void | addXmlBehaviorInfo (BehaviorFactory factory, String id, Dictionary parameters) |
| | Add XML behavior information required for XML-XML subclassing.
|
| |
| Array | collectBehaviors (Block ablock) |
| | Collect behaviors with block into Array.
|
| |
| void | createAndAddElement (StubElement stub, GameWorld gameWorld) |
| | Create element from given stub and add it to game world.
|
| |
| void | dispose () |
| | Dispose of element class.
|
| |
| ECBehavior | findBehavior (Block ablock) |
| | Find behavior with block.
|
| |
| void | forEachAttachableBehaviorFactory (Block ablock) |
| | Visit attachable behavior factories.
|
| |
| void | forEachBehavior (Block ablock) |
| | Visit behaviors with block.
|
| |
| void | forEachBehaviorDirect (Block ablock) |
| | Visit behaviors with block.
|
| |
| void | forEachBehaviorFactory (Block ablock) |
| | Visit behavior factories.
|
| |
| void | forEachPrepareStubBehavior (Block ablock) |
| | Visit prepare stub behaviors with block. version 1.23.
|
| |
| void | forEachPreventCreationBehavior (Block ablock) |
| | Visit prevent creation behaviors with block. version 1.23.
|
| |
| void | forEachXmlBehaviorInfo (Block ablock) |
| | Visit XML behavior info with block with argument XmlBehaviorInfo.
|
| |
| AttachableBehaviorFactory | getAttachableBehaviorFactoryWithId (String id) |
| | Attachable behavior factory with identifier or null if absent.
|
| |
| ECBehavior | getBehaviorAt (int index) |
| | Behavior at index.
|
| |
| BehaviorFactory | getBehaviorFactoryWithId (String id) |
| | Behavior factory with identifier or null if absent.
|
| |
| ECBehavior | getBehaviorWithId (String id) |
| | Behavior with matching BehaviorCompatiblePersistency::getBehaviorID() or null.
|
| |
| BehaviorElementClass | new (Loaders loaders) |
| | Create element class.
|
| |
| BehaviorElementClass | new (String className, Loaders loaders) |
| | Create element class.
|
| |
| void | prepareStubs (StubElement stub, GameWorld gameWorld, bool loading) |
| | Call prepareStub on all prepare stub behaviors.
|
| |
| bool | preventCreation (StubElement stub, GameWorld gameWorld) |
| | Call prepareStub on all prepare stub behaviors.
|
| |
| void | removeAllAttachableBehaviorFactories () |
| | Remove all attachable behavior factories.
|
| |
| void | removeAllBehaviorFactories () |
| | Remove all behavior factories.
|
| |
| void | addProperty (ElementClassProperty property) |
| | Add property.
|
| |
| void | copyPropertyValues (ElementClass eclass) |
| | Copy values of properties from another class to properties of this class.
|
| |
| Element | createElement (StubElement stub) |
| | Create element instance from stub.
|
| |
| bool | equals (Object obj) |
| | Element class is equal to another object.
|
| |
| void | failedLoading (String path, ResourceLoaderType resourceType) |
| | Resource failed loading.
|
| |
| void | finishedLoading (String path, ResourceLoaderType resourceType, Object resource) |
| | Resource finished loading successfully.
|
| |
| void | forEachProperty (Block ablock) |
| | Visit properties with block with parameter ElementClass.
|
| |
| String | getBasePath () |
| | Base path for relative loading of resource properties.
|
| |
| CodecPropertyString | getCodecPropertyString () |
| | Property codec helper.
|
| |
| bool | getIsXmlElementClass () |
| | Element class is an XML element class.
|
| |
| bool | getPersistable () |
| | Element class is persistable to file writers.
|
| |
| int | getPropertyCount () |
| | Number of properties.
|
| |
| ElementClassProperty | getPropertyNamed (String name) |
| | Named property or null if absent.
|
| |
| Array | getPropertyNames () |
| | List of property names as array of strings.
|
| |
| TSTriggerExpressionParser | getTriggerExpressionParser () |
| | Trigger expression parser.
|
| |
| int | hashCode () |
| | Hash code.
|
| |
| bool | hasPropertyNamed (String name) |
| | Named property is present.
|
| |
| Object | injectProperty (Object injectValue, Block ablock) |
| | Process value visiting properties.
|
| |
| void | loadAndAddElement (PersistencyEnvironment env, StubElement stub, FileReader reader, GameWorld gameWorld) |
| | Load element from file reader and add it to game world.
|
| |
| Element | loadElement (PersistencyEnvironment env, StubElement stub, FileReader reader) |
| | Load element from file reader.
|
| |
| void | removeAllProperties () |
| | Remove all properties.
|
| |
| void | removeProperty (ElementClassProperty property) |
| | Remove property.
|
| |
| void | setBasePath (String path) |
| | Set base path for relative loading of resource properties.
|
| |
| void | setIsXmlElementClass (bool isXmlElementClass) |
| | Set if element class is an XML element class.
|
| |
| void | setPersistable (bool persistable) |
| | Set element class is persistable to file writers.
|
| |
| void | setPropertyValue (String name, Object value) |
| | Set value of named property.
|
| |
|
Actor element class.
- Behavior XML Element Class.
This class can be recreated using GenericBehaviorElementClass and this *.deeclass file:
<?xml version='1.0' encoding='UTF-8'?>
<elementClass name='MyClass' class='GenericBehaviorElement'>
<behavior type='ECBehaviorBehaviorTree'/>
<behavior type='ECBehaviorStateMachine'>
<string name='.path'>/shareddata/stateMachines/actorAction/firstPerson.desm</string>
</behavior>
<behavior type='ECBehaviorInteractionElement'/>
<behavior type='ECBehaviorComponent'>
<boolean name='.renderEnvMap'>false</boolean>
<boolean name='.affectsAudio'>false</boolean>
<string name='.hintMovement'>dynamic</string>
</behavior>
<behavior type='ECBehaviorCollider'/>
<behavior type='ECBehaviorColliderAI'/>
<behavior type='ECBehaviorParameterTable'/>
<behavior type='ECBehaviorProjectToGround'/>
<behavior type='ECBehaviorLocomotion'/>
<behavior type='ECBehaviorActorAnimated'/>
<behavior type='ECBehaviorConversationActor'/>
<behavior type='ECBCTRRBindings'/>
<behavior type='ECBehaviorNavigator'/>
<behavior type='ECBehaviorFootSteps'/>
<behavior type='ECBehaviorRideOn'/>
<behavior type='ECBehaviorActorMover'/>
<behavior type='ECBehaviorAlignActor'/>
<behavior type='ECBehaviorAvoidedByActor'/>
<behavior type='ECBehaviorAvoidCollision'/>
<behavior type='ECBehaviorPlayerInputLook'/>
<behavior type='ECBehaviorPlayerInputTurn'/>
<behavior type='ECBehaviorPlayerInputCrouch'/>
<behavior type='ECBehaviorPlayerInputMove'/>
<behavior type='ECBehaviorPlayerControllable'/>
<behavior type='ECBehaviorActorAIAction'>
<string name='.action'>BAAStateMachine</string>
</behavior>
</elementClass>
It is though usually easier to use the class directly and extend it:
<?xml version='1.0' encoding='UTF-8'?>
<elementClass name='MyClass' class='Actor'>
</elementClass>