Drag[en]gine Script Module DragonScript  1.23
Dragengine.Commands.CommandsBAAMovement Class Reference

Commands for player controlled BaseActor with BAAMovement action. More...

Inheritance diagram for Dragengine.Commands.CommandsBAAMovement:

Classes

class  AnalogLookLR
 Analog lookment left/right. More...
 
class  AnalogLookUD
 Analog lookment up/down. More...
 
class  AnalogMoveFB
 Analog movement forward/backward. More...
 
class  AnalogMoveLR
 Analog movement left/right. More...
 
class  Base
 Base class operating only on actors with BAAMovement action. More...
 
class  Crouch
 Crouching. More...
 
enum  InputScheme
 Input scheme to use for adding default bindings. More...
 
class  LookDown
 Look down. More...
 
class  LookLeft
 Look left. More...
 
class  LookRight
 Look right. More...
 
class  LookUp
 Look up. More...
 
class  MoveBackward
 Move backward. More...
 
class  MoveForward
 Move forward. More...
 
class  MoveLeft
 Move left. More...
 
class  MoveRight
 Move right. More...
 
class  Run
 Running. More...
 
class  ToggleCrouch
 Toggle crouching. More...
 
class  ToggleRun
 Toggle running. More...
 

Static Public Member Functions

static void addCommands (CommandManager commands, ECBehaviorPlayerControllable.Tracker tracker)
 Add commands to command manager. More...
 
static void addDefaultBindings (DefaultBindingHelper helper, InputScheme scheme)
 Add default bindings for commands. More...
 

Detailed Description

Commands for player controlled BaseActor with BAAMovement action.

Contains various commands as sub classes. A static helper method adds instances of each command to the command manager of a BaseGameApp.

Member Function Documentation

◆ addCommands()

static void Dragengine.Commands.CommandsBAAMovement.addCommands ( CommandManager  commands,
ECBehaviorPlayerControllable.Tracker  tracker 
)
static

Add commands to command manager.

◆ addDefaultBindings()

static void Dragengine.Commands.CommandsBAAMovement.addDefaultBindings ( DefaultBindingHelper  helper,
InputScheme  scheme 
)
static

Add default bindings for commands.

Adds bindings for these commands:

  • "moveForward"
  • "moveBackward"
  • "moveLeft"
  • "moveRight"
  • "lookLeft"
  • "lookRight"
  • "lookUp"
  • "lookDown"
  • "analogMoveFB"
  • "analogMoveLR"
  • "analogLookLR"
  • "analogLookUD"
  • "toggleCrouch"
  • "toggleRun"

These commands are not added as bindings:

  • "crouch"
  • "run"

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