ScummVM API documentation
TeenAgent::Actor Class Reference
Inheritance diagram for TeenAgent::Actor:
TeenAgent::Animation

Public Member Functions

 Actor (TeenAgentEngine *vm)
 
Common::Rect render (Graphics::Surface *surface, const Common::Point &position, uint8 orientation, int deltaFrame, bool renderHead, uint zoom)
 
Common::Rect renderIdle (Graphics::Surface *surface, const Common::Point &position, uint8 orientation, int deltaFrame, uint zoom, Common::RandomSource &rnd)
 
- Public Member Functions inherited from TeenAgent::Animation
void load (Common::SeekableReadStream &, Type type=kTypeLan)
 
void free ()
 
SurfacefirstFrame ()
 
SurfacecurrentFrame (int dt)
 
uint16 currentIndex () const
 
void resetIndex ()
 
bool empty () const
 
void restart ()
 

Additional Inherited Members

- Public Types inherited from TeenAgent::Animation
enum  Type { kTypeLan, kTypeVaria, kTypeInventory }
 
- Public Attributes inherited from TeenAgent::Animation
uint16 id
 
uint16 x
 
uint16 y
 
bool loop
 
bool paused
 
bool ignore
 
- Protected Attributes inherited from TeenAgent::Animation
byte * data
 
uint16 dataSize
 
uint16 framesCount
 
Surfaceframes
 
uint16 index
 

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