|
Drag[en]gine Script Module DragonScript 1.32.1
|
Behavior element behavior adding crouching player input. More...
Classes | |
| class | Factory |
| Behavior factory. More... | |
| class | Instance |
| Behavior instance. More... | |
Public Member Functions | |
| void | dispose () |
| Dispose of behavior. | |
| ECComposeBTSM | getBTSMs () |
| Compose behavior trees and state machines. | |
| ECBehaviorLocomotion | getLocomotion () |
| Locomotion behavior or null. | |
| String | getPrefix () |
| Prefix. | |
| Instance | instance (BehaviorElement element) |
| Get instance in element from owner element class. | |
| ECBehaviorPlayerInputCrouch | new (BehaviorElementClass eclass, ECBehaviorLocomotion locomotion) |
| Create behavior element class. | |
| ECBehaviorPlayerInputCrouch | new (BehaviorElementClass eclass, ECBehaviorLocomotion locomotion, String prefix) |
Public Member Functions inherited from Dragengine.Scenery.DefaultECBehavior | |
| void | assignInstanceIndex (int instanceIndex) |
| Assign instance index. | |
| String | getBehaviorID () |
| Unique identifier of behavior. | |
| String | getID () |
| Identifier. | |
| int | getInstanceIndex () |
| Instance index. | |
| void | loadSupportedData (String identifier, PersistencyEnvironment env, FileReader reader, ECBehaviorInstance instance) |
| Load instance data of another behavior. | |
| bool | supportsBehaviorID (String identifier) |
| Behavior supports loading instance data of another behavior. | |
Public Member Functions inherited from Dragengine.Scenery.ECBehavior | |
| ECBehaviorInstance | createInstance (BehaviorElement element) |
| Create Behavior instance. | |
Static Public Member Functions | |
| static ECBehaviorPlayerInputCrouch | getBehaviorIn (BehaviorElementClass eclass) |
| Get behavior in element class or null if absent. | |
Public Attributes | |
| ECComposeBTSM | pBTSMs |
| ECBehaviorLocomotion | pLocomotion |
| String | pPrefix |
Additional Inherited Members | |
Protected Member Functions inherited from Dragengine.Scenery.DefaultECBehavior | |
| DefaultECBehavior | new (BehaviorElementClass eclass) |
| Create default composeable behavior with empty identifier. | |
| DefaultECBehavior | new (BehaviorElementClass eclass, String id) |
| Create default composeable behavior. | |
| void | setBehaviorID (String identifier) |
| Set behavior identifier. | |
| void | useClassNameAsBehaviorID () |
| Set behavior identifier to "<class-name>:<identifier>". | |
| void | useFullyQualifiedClassNameAsBehaviorID () |
| Set behavior identifier to "<fully-qualified-class-name>:<identifier>". | |
Behavior element behavior adding crouching player input.
Keeps track of crouching player input and applies them to actor locomotion.
This behavior supports persistable element class (setPersistable).
| void Dragengine.Scenery.ECBehaviorPlayerInputCrouch.dispose | ( | ) |
Dispose of behavior.
Reimplemented from Dragengine.Scenery.DefaultECBehavior.
|
static |
Get behavior in element class or null if absent.
Use this method to check if a particular BehaviorElementClass contains a behavior of type ECBehaviorPlayerInputCrouch.
| ECComposeBTSM Dragengine.Scenery.ECBehaviorPlayerInputCrouch.getBTSMs | ( | ) |
Compose behavior trees and state machines.
| ECBehaviorLocomotion Dragengine.Scenery.ECBehaviorPlayerInputCrouch.getLocomotion | ( | ) |
Locomotion behavior or null.
| String Dragengine.Scenery.ECBehaviorPlayerInputCrouch.getPrefix | ( | ) |
Prefix.
| Instance Dragengine.Scenery.ECBehaviorPlayerInputCrouch.instance | ( | BehaviorElement | element | ) |
Get instance in element from owner element class.
| ECBehaviorPlayerInputCrouch Dragengine.Scenery.ECBehaviorPlayerInputCrouch.new | ( | BehaviorElementClass | eclass, |
| ECBehaviorLocomotion | locomotion | ||
| ) |
Create behavior element class.
| ECBehaviorPlayerInputCrouch Dragengine.Scenery.ECBehaviorPlayerInputCrouch.new | ( | BehaviorElementClass | eclass, |
| ECBehaviorLocomotion | locomotion, | ||
| String | prefix | ||
| ) |
| ECComposeBTSM Dragengine.Scenery.ECBehaviorPlayerInputCrouch.pBTSMs |
| ECBehaviorLocomotion Dragengine.Scenery.ECBehaviorPlayerInputCrouch.pLocomotion |
| String Dragengine.Scenery.ECBehaviorPlayerInputCrouch.pPrefix |