ScummVM API documentation
Grim::ObjectState Class Reference
Inheritance diagram for Grim::ObjectState:
Grim::PoolObject< ObjectState > Grim::PoolObjectBase

Public Types

enum  Position { OBJSTATE_BACKGROUND = 0, OBJSTATE_UNDERLAY = 1, OBJSTATE_OVERLAY = 2, OBJSTATE_STATE = 3 }
 

Public Member Functions

 ObjectState (int setupID, ObjectState::Position pos, const char *bitmap, const char *zbitmap, bool visible)
 
void saveState (SaveGame *savedState) const
 
bool restoreState (SaveGame *savedState)
 
int getSetupID () const
 
Position getPos () const
 
void setPos (Position position)
 
const Common::StringgetBitmapFilename () const
 
void setActiveImage (int val)
 
void draw ()
 
- Public Member Functions inherited from Grim::PoolObject< ObjectState >
void setId (int id)
 
int getId () const override
 
int32 getTag () const override
 

Static Public Member Functions

static int32 getStaticTag ()
 
- Static Public Member Functions inherited from Grim::PoolObject< ObjectState >
static PoolgetPool ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from Grim::PoolObject< ObjectState >
static void saveStaticState (SaveGame *state)
 
static void restoreStaticState (SaveGame *state)
 

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