-
Notifications
You must be signed in to change notification settings - Fork 0
Item
Yxuer edited this page Aug 22, 2019
·
1 revision
The Item class models items that can be in the game, which are in certain areas and can be in a certain state (for example, a light switch, a key, etc.).
The interface for this class is:
-
const std::string& getState() const: returns the current state of the item. -
void setState(const std::string& stateName): sets the state of the item to the given value.