Group_B_VirtualEscapeRoom
|
Main game object. More...
#include <object.h>
Public Attributes | |
const char * | description |
Short text description of object Description of object in the current stage of game. More... | |
const char * | tag |
Tag for object Used to look up objects in the global list of objects. More... | |
type_t | type |
Type of object Used to determine the type of an object, such as location , usable_objects , etc. More... | |
state_t | state |
State of object Used to keep track of state, such as whether a door is open, a puzzle is compelte, etc. More... | |
const char * | detailed_description |
Long text description of object Used to describe the object in more detail, when inspecting an object. More... | |
struct object * | location |
Location of object Location of object as another object. More... | |
Main game object.
Used for any entity in the game, including locations
const char* object::description |
Short text description of object Description of object in the current stage of game.
const char* object::detailed_description |
Long text description of object Used to describe the object in more detail, when inspecting an object.
struct object* object::location |
Location of object Location of object as another object.
state_t object::state |
State of object Used to keep track of state, such as whether a door is open, a puzzle is compelte, etc.
const char* object::tag |
Tag for object Used to look up objects in the global list of objects.
type_t object::type |
Type of object Used to determine the type of an object, such as location
, usable_objects
, etc.