Engine::AddCommand
Defined in:
Registers a system command.
C4Engine.hPrototype
bool AddCommand(Command *command);
Parameters
command |
A pointer to the command to register. |
Description
The AddCommand function registers the system command specified by the command parameter with the engine. If the command is successfully registered, then the return value is true. If another command with the same name has already been registered, then the return value is false, and the new command is not registered.
See Also
