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

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

Inheritance diagram for Dragengine.Commands.CommandsBAAVRGrab:

Classes

class  Base
 Base class operating only on actors with BAAVRGrab action. More...
 
class  GrabAction
 Grab action. More...
 
class  SqueezeAction
 Squeeze action. More...
 

Static Public Member Functions

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

Detailed Description

Commands for player controlled BaseActor with BAAVRGrab 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.CommandsBAAVRGrab.addCommands ( CommandManager  commands,
ECBehaviorPlayerControllable.Tracker  tracker 
)
static

Add commands to command manager.

Adds these commands:

  • grabRight: Grab using right hand
  • grabLeft: Grab using left hand
  • squeezeRight: Squeeze right hand
  • squeezeLeft: Squeeze left hand

◆ addDefaultBindings()

static void Dragengine.Commands.CommandsBAAVRGrab.addDefaultBindings ( DefaultBindingHelper  helper)
static

Add default bindings for commands.

Adds bindings for these commands if present in binding manager:

  • "grabRight"
  • "grabLeft"
  • "squeezeRight"
  • "squeezeLeft"

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