ScummVM API documentation
ZVision::ValueSlot Class Reference

#include <script_manager.h>

Public Member Functions

 ValueSlot (ScriptManager *scriptManager, const char *slotValue)
 
int16 getValue ()
 

Detailed Description

Instances of this polymorphic class function either as a store of a single value, or as a "slot" that returns a StateValue

Parameters
lineThe line initially read
slotValueA 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.


The documentation for this class was generated from the following file: