Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Commands.CommandsBAAInteract Class Reference

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

Inheritance diagram for Dragengine.Commands.CommandsBAAInteract:

Classes

class  Base
 Base class operating only on actors with BAAInteract action. More...
class  PrimaryAction
 Primary action. More...
class  SecondaryAction
 Secondary action. More...
class  StateMachineEventBridge
 Bridge from BAAInteract to BAAStateMachineEvent. More...

Static Public Member Functions

static void addCommands (CommandManager commands, ECBehaviorPlayerControllable.Tracker tracker)
 Add commands to command manager.
static void addCommands (CommandManager commands, ECBehaviorPlayerControllable.Tracker tracker, PlayerControlledActorSelector trackerSelector)
 Add commands to command manager.
static void addDefaultBindings (DefaultBindingHelper helper)
 Add default bindings for commands.
static void removeSupportedCommands (CommandManager commands)
 Remove all supported commands if present.

Detailed Description

Commands for player controlled BaseActor with BAAInteract 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() [1/2]

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

Add commands to command manager.

Referenced by addDefaultBindings().

◆ addCommands() [2/2]

void Dragengine.Commands.CommandsBAAInteract.addCommands ( CommandManager commands,
ECBehaviorPlayerControllable.Tracker tracker,
PlayerControlledActorSelector trackerSelector )
static

Add commands to command manager.

Version
1.35

◆ addDefaultBindings()

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

Add default bindings for commands.

Adds bindings for these commands:

  • "primaryAction"
  • "secondaryAction"

References addCommands(), addDefaultBindings(), and removeSupportedCommands().

Referenced by addDefaultBindings().

◆ removeSupportedCommands()

void Dragengine.Commands.CommandsBAAInteract.removeSupportedCommands ( CommandManager commands)
static

Remove all supported commands if present.

Version
1.35

Referenced by addDefaultBindings().


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