ScummVM API documentation
Grim::SpriteComponent Class Reference
Inheritance diagram for Grim::SpriteComponent:
Grim::Component

Public Member Functions

 SpriteComponent (Component *parent, int parentID, const char *filename, tag32 tag)
 
void init () override
 
void setKey (int val) override
 
void reset () override
 
void saveState (SaveGame *state) override
 
void restoreState (SaveGame *state) override
 
- Public Member Functions inherited from Grim::Component
 Component (Component *parent, int parentID, const char *name, tag32 tag)
 
CMapgetCMap ()
 
virtual void setColormap (CMap *c)
 
bool isVisible ()
 
ComponentgetParent ()
 
virtual void setMatrix (const Math::Matrix4 &)
 
virtual void setMapName (char *)
 
virtual int update (uint time)
 
virtual void animate ()
 
virtual void draw ()
 
virtual void fade (Animation::FadeMode, int)
 
virtual void advance (uint msecs)
 
virtual void setPaused (bool paused)
 
virtual void resetColormap ()
 
bool isComponentType (char a0, char a1, char a2, char a3)
 

Additional Inherited Members

- Protected Member Functions inherited from Grim::Component
void setCostume (Costume *cost)
 
void setParent (Component *newParent)
 
void removeChild (Component *child)
 
void resetHierCMap ()
 
- Protected Attributes inherited from Grim::Component
ObjectPtr< CMap_cmap
 
ObjectPtr< CMap_previousCmap
 
tag32 _tag
 
int _parentID
 
bool _visible
 
Component_parent
 
Component_child
 
Component_sibling
 
Costume_cost
 
Common::String _name
 

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