Drag[en]gine Script Module DragonScript  1.21
Dragengine.Commands.CommandManager Class Reference

Game commands. More...

Inheritance diagram for Dragengine.Commands.CommandManager:

Public Member Functions

void add (Command command)
 Add command. More...
 
void forEach (Block ablock)
 Visit commands with a block. More...
 
Command getAt (int index)
 Command at index. More...
 
int getCount ()
 Number of commands. More...
 
Command getNamed (String name)
 Named command or null if absent. More...
 
bool hasNamed (String name)
 Named command is present. More...
 
CommandManager new ()
 Create command manager. More...
 
void remove (Command command)
 Remove command. More...
 
void removeAll ()
 Removes all commands. More...
 

Detailed Description

Game commands.

Member Function Documentation

◆ add()

void Dragengine.Commands.CommandManager.add ( Command  command)

Add command.

◆ forEach()

void Dragengine.Commands.CommandManager.forEach ( Block  ablock)

Visit commands with a block.

◆ getAt()

Command Dragengine.Commands.CommandManager.getAt ( int  index)

Command at index.

◆ getCount()

int Dragengine.Commands.CommandManager.getCount ( )

Number of commands.

◆ getNamed()

Command Dragengine.Commands.CommandManager.getNamed ( String  name)

Named command or null if absent.

◆ hasNamed()

bool Dragengine.Commands.CommandManager.hasNamed ( String  name)

Named command is present.

◆ new()

CommandManager Dragengine.Commands.CommandManager.new ( )

Create command manager.

◆ remove()

void Dragengine.Commands.CommandManager.remove ( Command  command)

Remove command.

◆ removeAll()

void Dragengine.Commands.CommandManager.removeAll ( )

Removes all commands.


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