SDLPP::AnimatedSprite Class Reference

Inheritance diagram for SDLPP::AnimatedSprite:
SDLPP::RigidBody2D SDLPP::GameObject

List of all members.

Public Member Functions

 AnimatedSprite (Sprite &spr)
 AnimatedSprite (const xstring &spr_xml, ResourceFile *rf=0)
int get_sequences_count () const
xstring get_sequence_name (int seq) const
void set_active_sequence (int seq)
int get_active_sequence () const
int get_current_frame () const
Bitmap get_current_image ()
virtual bool advance (int dt)
virtual void render (GameView &gv)
virtual bool is_volatile () const
virtual bool is_static_sprite () const
virtual iRect2 get_rect () const
virtual CollisionModel2Dget_col_model ()
virtual xstring get_flag (const xstring &flag)
void set (const xstring &name, const xstring &value)
const xstringget (const xstring &name) const

Member Function Documentation

bool SDLPP::AnimatedSprite::advance ( int  dt  )  [virtual]

Logically change the object state to reflect the passage of dt milliseconds No drawing is done at this stage. Returns false to indicate object is to be removed.

Reimplemented from SDLPP::RigidBody2D.

The documentation for this class was generated from the following files:
Generated on Wed May 26 17:41:00 2010 for SDLPP by  doxygen 1.6.3