Drag[en]gine Script Module DragonScript
1.23
|
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... | |
Game commands.
void Dragengine.Commands.CommandManager.add | ( | Command | command | ) |
Add command.
void Dragengine.Commands.CommandManager.forEach | ( | Block | ablock | ) |
Visit commands with a block.
int Dragengine.Commands.CommandManager.getCount | ( | ) |
Number of commands.
Command Dragengine.Commands.CommandManager.getNamed | ( | String | name | ) |
Named command or null if absent.
bool Dragengine.Commands.CommandManager.hasNamed | ( | String | name | ) |
Named command is present.
CommandManager Dragengine.Commands.CommandManager.new | ( | ) |
Create command manager.
void Dragengine.Commands.CommandManager.remove | ( | Command | command | ) |
Remove command.
void Dragengine.Commands.CommandManager.removeAll | ( | ) |
Removes all commands.