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