|
Drag[en]gine Script Module DragonScript 1.35
|
Base class operating only on actors with BAAMovement action. More...
Public Member Functions | |
| void | analogAbsolute (BAAMovement action, float value) |
| Absolute input device axis position changed. | |
| void | analogAbsolute (Binding binding, float value) |
| Absolute input device axis position changed. | |
| void | analogAbsolute (float value) |
| Absolute input device axis position changed. | |
| void | analogRelative (BAAMovement action, float value) |
| Relative input device axis position changed. | |
| void | analogRelative (Binding binding, float value) |
| Relative input device axis position changed. | |
| void | analogRelative (float value) |
| Relative input device axis position changed. | |
| BAAMovement | getMovement () |
| BAAMovement | getMovement (Binding binding) |
| BAAMovement | getMovement (ECBehaviorPlayerControllable.Tracker tracker) |
| ECBehaviorPlayerControllable.Tracker | getTracker () |
| PlayerControlledActorSelector | getTrackerSelector () |
| Base | new (ECBehaviorPlayerControllable.Tracker tracker, String name, String description) |
| void | setTrackerSelector (PlayerControlledActorSelector trackerSelector) |
| void | start (BAAMovement action) |
| Start command on action. | |
| void | start (Binding binding) |
| Input device key or button has been pressed. | |
| void | stop () |
| Input device key or button has been released. | |
| void | stop (BAAMovement action) |
| Start command on action. | |
| void | stop (Binding binding) |
| Input device key or button has been released. | |
| Public Member Functions inherited from Dragengine.Commands.Command | |
| void | approach () |
| User finger approached device button. | |
| void | approach (Binding binding) |
| User finger approached device button. | |
| String | getDescription () |
| Description. | |
| String | getDisplayName () |
| Display name or null. | |
| String | getName () |
| Unique name. | |
| String | getTranslateDescription () |
| Translation description or null. | |
| String | getTranslateDisplayName () |
| Translation display name or null. | |
| Command | new () |
| Create command. | |
| Command | new (String name, String description) |
| Create command. | |
| void | pulse () |
| Convenience method calling start() and stop() in succession. | |
| void | pulse (Binding binding) |
| Convenience method calling start() and stop() in succession. | |
| void | setDescription (String description) |
| Set description. | |
| void | setDisplayName (String displayName) |
| Set display name or null. | |
| void | setName (String name) |
| Set unique name of the command. | |
| void | setTranslateDescription (String translateName) |
| Set translate description or null. | |
| void | setTranslateDisplayName (String translateName) |
| Set translate display name or null. | |
| void | start () |
| Input device key or button has been pressed. | |
| void | touch () |
| Input device button has been touched. | |
| void | touch (Binding binding) |
| Input device button has been touched. | |
| String | translateDescription () |
| Translated command description using default TranslationManager. | |
| String | translateDescription (TranslationManager translationManager) |
| Translated command description. | |
| String | translateDisplayName () |
| Translated display name using default TranslationManager. | |
| String | translateDisplayName (TranslationManager translationManager) |
| Translated display name. | |
| void | untouch () |
| Input device button has been untouched. | |
| void | untouch (Binding binding) |
| Input device button has been untouched. | |
| void | withdraw () |
| User finger withdrew from device button. | |
| void | withdraw (Binding binding) |
| User finger withdrew from device button. | |
Public Attributes | |
| ECBehaviorPlayerControllable.Tracker | pTracker |
| PlayerControlledActorSelector | pTrackerSelector |
| Public Attributes inherited from Dragengine.Commands.Command | |
| String | pName |
Base class operating only on actors with BAAMovement action.
| void Dragengine.Commands.CommandsBAAMovement.Base.analogAbsolute | ( | BAAMovement | action, |
| float | value ) |
Absolute input device axis position changed.
Axis keeps position until next event. Gamepad events typically send this method when the stick is pushed to a new position.
| value | New axis position in the range -1 to 1. |
Reimplemented in Dragengine.Commands.CommandsBAAMovement.AnalogLookLR, Dragengine.Commands.CommandsBAAMovement.AnalogLookUD, Dragengine.Commands.CommandsBAAMovement.AnalogMoveFB, and Dragengine.Commands.CommandsBAAMovement.AnalogMoveLR.
| void Dragengine.Commands.CommandsBAAMovement.Base.analogAbsolute | ( | Binding | binding, |
| float | value ) |
Absolute input device axis position changed.
Axis keeps position until next event. Gamepad events typically send this method when the stick is pushed to a new position.
| value | New axis position in the range -1 to 1. |
| binding | Binding producing the event or null if unknown or generated. |
Reimplemented from Dragengine.Commands.Command.
| void Dragengine.Commands.CommandsBAAMovement.Base.analogAbsolute | ( | float | value | ) |
Absolute input device axis position changed.
Axis keeps position until next event. Gamepad events typically send this method when the stick is pushed to a new position.
| value | New axis position in the range -1 to 1. |
Reimplemented from Dragengine.Commands.Command.
Referenced by Dragengine.Commands.CommandsBAAMovement.LookDown.stop().
| void Dragengine.Commands.CommandsBAAMovement.Base.analogRelative | ( | BAAMovement | action, |
| float | value ) |
Relative input device axis position changed.
Value is the change in the relative axis. It is reset to 0 right after sending the event. No event is sent for the reset. A typical device is mouse movement resulting in this method to be called.
| value | Relative axis position change in axis units. Caller is responsible to adjust the range to make different input devices match in magnitude. |
Reimplemented in Dragengine.Commands.CommandsBAAMovement.AnalogLookLR, Dragengine.Commands.CommandsBAAMovement.AnalogLookUD, Dragengine.Commands.CommandsBAAMovement.AnalogMoveFB, and Dragengine.Commands.CommandsBAAMovement.AnalogMoveLR.
| void Dragengine.Commands.CommandsBAAMovement.Base.analogRelative | ( | Binding | binding, |
| float | value ) |
Relative input device axis position changed.
Value is the change in the relative axis. It is reset to 0 right after sending the event. No event is sent for the reset. A typical device is mouse movement resulting in this method to be called.
| value | Relative axis position change in axis units. Caller is responsible to adjust the range to make different input devices match in magnitude. |
| binding | Binding producing the event or null if unknown or generated. |
Reimplemented from Dragengine.Commands.Command.
| void Dragengine.Commands.CommandsBAAMovement.Base.analogRelative | ( | float | value | ) |
Relative input device axis position changed.
Value is the change in the relative axis. It is reset to 0 right after sending the event. No event is sent for the reset. A typical device is mouse movement resulting in this method to be called.
| value | Relative axis position change in axis units. Caller is responsible to adjust the range to make different input devices match in magnitude. |
Reimplemented from Dragengine.Commands.Command.
Referenced by Dragengine.Commands.CommandsBAAMovement.LookDown.new(), Dragengine.Commands.CommandsBAAMovement.LookDown.new(), Dragengine.Commands.CommandsBAAMovement.LookUp.start(), and Dragengine.Commands.CommandsBAAMovement.LookUp.stop().
| BAAMovement Dragengine.Commands.CommandsBAAMovement.Base.getMovement | ( | ) |
Referenced by Dragengine.Commands.CommandsBAAMovement.AnalogMoveFB.new(), Dragengine.Commands.CommandsBAAMovement.LookDown.new(), Dragengine.Commands.CommandsBAAMovement.LookLeft.new(), Dragengine.Commands.CommandsBAAMovement.LookRight.new(), Dragengine.Commands.CommandsBAAMovement.LookUp.new(), Dragengine.Commands.CommandsBAAMovement.MoveLeft.new(), Dragengine.Commands.CommandsBAAMovement.LookLeft.start(), Dragengine.Commands.CommandsBAAMovement.LookRight.start(), Dragengine.Commands.CommandsBAAMovement.LookDown.stop(), Dragengine.Commands.CommandsBAAMovement.LookUp.stop(), and Dragengine.Commands.CommandsBAAMovement.MoveLeft.stop().
| BAAMovement Dragengine.Commands.CommandsBAAMovement.Base.getMovement | ( | Binding | binding | ) |
| BAAMovement Dragengine.Commands.CommandsBAAMovement.Base.getMovement | ( | ECBehaviorPlayerControllable.Tracker | tracker | ) |
| ECBehaviorPlayerControllable.Tracker Dragengine.Commands.CommandsBAAMovement.Base.getTracker | ( | ) |
Referenced by Dragengine.Commands.CommandsBAAMovement.MoveBackward.start().
| PlayerControlledActorSelector Dragengine.Commands.CommandsBAAMovement.Base.getTrackerSelector | ( | ) |
Referenced by Dragengine.Commands.CommandsBAAMovement.MoveBackward.stop().
| Base Dragengine.Commands.CommandsBAAMovement.Base.new | ( | ECBehaviorPlayerControllable.Tracker | tracker, |
| String | name, | ||
| String | description ) |
| void Dragengine.Commands.CommandsBAAMovement.Base.setTrackerSelector | ( | PlayerControlledActorSelector | trackerSelector | ) |
| void Dragengine.Commands.CommandsBAAMovement.Base.start | ( | BAAMovement | action | ) |
Start command on action.
Reimplemented in Dragengine.Commands.CommandsBAAMovement.Crouch, Dragengine.Commands.CommandsBAAMovement.LookDown, Dragengine.Commands.CommandsBAAMovement.LookLeft, Dragengine.Commands.CommandsBAAMovement.LookRight, Dragengine.Commands.CommandsBAAMovement.LookUp, Dragengine.Commands.CommandsBAAMovement.MoveBackward, Dragengine.Commands.CommandsBAAMovement.MoveForward, Dragengine.Commands.CommandsBAAMovement.MoveLeft, Dragengine.Commands.CommandsBAAMovement.MoveRight, Dragengine.Commands.CommandsBAAMovement.Run, Dragengine.Commands.CommandsBAAMovement.ToggleCrouch, and Dragengine.Commands.CommandsBAAMovement.ToggleRun.
| void Dragengine.Commands.CommandsBAAMovement.Base.start | ( | Binding | binding | ) |
Input device key or button has been pressed.
| binding | Binding producing the event or null if unknown or generated. |
Reimplemented from Dragengine.Commands.Command.
Referenced by Dragengine.Commands.CommandsBAAMovement.AnalogMoveFB.analogAbsolute().
| void Dragengine.Commands.CommandsBAAMovement.Base.stop | ( | ) |
Input device key or button has been released.
Reimplemented from Dragengine.Commands.Command.
Referenced by Dragengine.Commands.CommandsBAAMovement.AnalogMoveLR.new().
| void Dragengine.Commands.CommandsBAAMovement.Base.stop | ( | BAAMovement | action | ) |
Start command on action.
Reimplemented in Dragengine.Commands.CommandsBAAMovement.Crouch, Dragengine.Commands.CommandsBAAMovement.LookDown, Dragengine.Commands.CommandsBAAMovement.LookLeft, Dragengine.Commands.CommandsBAAMovement.LookRight, Dragengine.Commands.CommandsBAAMovement.LookUp, Dragengine.Commands.CommandsBAAMovement.MoveBackward, Dragengine.Commands.CommandsBAAMovement.MoveForward, Dragengine.Commands.CommandsBAAMovement.MoveLeft, Dragengine.Commands.CommandsBAAMovement.MoveRight, and Dragengine.Commands.CommandsBAAMovement.Run.
| void Dragengine.Commands.CommandsBAAMovement.Base.stop | ( | Binding | binding | ) |
Input device key or button has been released.
| binding | Binding producing the event or null if unknown or generated. |
Reimplemented from Dragengine.Commands.Command.
| ECBehaviorPlayerControllable.Tracker Dragengine.Commands.CommandsBAAMovement.Base.pTracker |
| PlayerControlledActorSelector Dragengine.Commands.CommandsBAAMovement.Base.pTrackerSelector |