#include <script_manager.h>
Public Member Functions | |
ValueSlot (ScriptManager *scriptManager, const char *slotValue) | |
int16 | getValue () |
Instances of this polymorphic class function either as a store of a single value, or as a "slot" that returns a StateValue
line | The line initially read |
slotValue | A text string containing a number, which may be enclosed within square braces. If square braces are not present, getValue() will return slotValue. If square braces are present, getValue() will return the StateValue to which slotValue is the key. |
Once instantiated, the value and nature of slotValue may not be changed.