ScummVM API documentation
Darkseed::Objects Class Reference

Public Member Functions

void reset ()
 
Common::Error sync (Common::Serializer &s)
 
void setVar (uint16 varIdx, int16 newValue)
 
int16 getVar (uint16 varIdx)
 
int16 getObjectRunningCode (int idx)
 
void setObjectRunningCode (int idx, int16 value)
 
Common::Point getMoveObjectPosition (uint8 objIdx)
 
void setMoveObjectPosition (uint8 objIdx, const Common::Point &newPoint)
 
void setMoveObjectX (uint8 objIdx, int16 xPos)
 
int getEyeDescriptionTosIdx (uint16 objNum)
 
int getMoveObjectRoom (uint16 idx)
 
void setMoveObjectRoom (uint16 idx, uint8 value)
 
const char * getObjectName (int idx)
 
int16 & operator[] (uint16 varIdx)
 
const int16 & operator[] (uint16 varIdx) const
 

Public Attributes

Common::Array< int16 > _objectRunningCode
 

Static Public Attributes

static constexpr int MAX_MOVED_OBJECTS = 42
 
static constexpr int MAX_OBJECTS = 199
 

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