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