ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

#include <objectstate.h>

Inheritance diagram for Grim::ObjectState:
Collaboration diagram for Grim::ObjectState:

List of all members.

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)
 ObjectState ()
 ~ObjectState ()
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 ()

Static Public Member Functions

static int32 getStaticTag ()

Private Attributes

bool _visibility
int _setupID
Position _pos
Bitmap::Ptr _bitmap
Bitmap::Ptr _zbitmap

Detailed Description

Definition at line 35 of file objectstate.h.


Member Enumeration Documentation

Enumerator:
OBJSTATE_BACKGROUND 
OBJSTATE_UNDERLAY 
OBJSTATE_OVERLAY 
OBJSTATE_STATE 

Definition at line 37 of file objectstate.h.


Constructor & Destructor Documentation

Grim::ObjectState::ObjectState ( int  setupID,
ObjectState::Position  pos,
const char *  bitmap,
const char *  zbitmap,
bool  visible 
)

Definition at line 30 of file objectstate.cpp.

Grim::ObjectState::ObjectState (  ) 

Definition at line 40 of file objectstate.cpp.

Grim::ObjectState::~ObjectState (  ) 

Definition at line 45 of file objectstate.cpp.


Member Function Documentation

void Grim::ObjectState::draw (  ) 

Definition at line 66 of file objectstate.cpp.

const Common::String & Grim::ObjectState::getBitmapFilename (  )  const

Definition at line 50 of file objectstate.cpp.

Position Grim::ObjectState::getPos (  )  const [inline]

Definition at line 54 of file objectstate.h.

int Grim::ObjectState::getSetupID (  )  const [inline]

Definition at line 53 of file objectstate.h.

static int32 Grim::ObjectState::getStaticTag (  )  [inline, static]

Definition at line 48 of file objectstate.h.

bool Grim::ObjectState::restoreState ( SaveGame savedState  ) 

Definition at line 98 of file objectstate.cpp.

void Grim::ObjectState::saveState ( SaveGame savedState  )  const

Definition at line 78 of file objectstate.cpp.

void Grim::ObjectState::setActiveImage ( int  val  ) 

Definition at line 54 of file objectstate.cpp.

void Grim::ObjectState::setPos ( Position  position  )  [inline]

Definition at line 55 of file objectstate.h.


Member Data Documentation

Bitmap::Ptr Grim::ObjectState::_bitmap [private]

Definition at line 66 of file objectstate.h.

Definition at line 65 of file objectstate.h.

Definition at line 64 of file objectstate.h.

Definition at line 63 of file objectstate.h.

Bitmap::Ptr Grim::ObjectState::_zbitmap [private]

Definition at line 66 of file objectstate.h.


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


Generated on Sat Mar 16 2019 05:06:13 for ResidualVM by doxygen 1.7.1
curved edge   curved edge