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 CollisionModel2D & | get_col_model () |
virtual xstring | get_flag (const xstring &flag) |
void | set (const xstring &name, const xstring &value) |
const xstring & | get (const xstring &name) const |
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.