#include <ShowOneSprite.h>
Inheritance diagram for ShowOneSprite:
Public Member Functions | |
ShowOneSprite (std::string filename, List *spriteInfo) | |
ShowOneSprite (ShowOneSprite *sprite) | |
~ShowOneSprite () | |
Sprite * | instance () |
virtual void | reset () |
virtual void | draw (int x, int y, bool origin=LEVEL) |
void | show (int index) |
Protected Attributes | |
std::vector< Sprite * > | _sprites |
std::vector< Sprite * > | _createdSprites |
int | _index |
Definition at line 10 of file ShowOneSprite.h.
|
Definition at line 5 of file ShowOneSprite.cpp. References Sprite::_filename, List::empty(), List::firstList(), Sprite::loadSprite(), and List::rest(). Referenced by instance(). |
|
Definition at line 50 of file ShowOneSprite.cpp. References _sprites. |
|
Definition at line 44 of file ShowOneSprite.cpp. References _createdSprites. |
|
Reimplemented from Sprite. Definition at line 56 of file ShowOneSprite.cpp. References Sprite::_direction, _index, Sprite::_rect, and _sprites. Referenced by Person::draw(). |
|
Reimplemented from Sprite. Definition at line 67 of file ShowOneSprite.cpp. References _createdSprites, and ShowOneSprite(). |
|
Reimplemented from Sprite. Definition at line 74 of file ShowOneSprite.cpp. References _sprites. |
|
Definition at line 21 of file ShowOneSprite.h. References _index. Referenced by Person::draw(). |
|
Definition at line 25 of file ShowOneSprite.h. Referenced by instance(), and ~ShowOneSprite(). |
|
Definition at line 26 of file ShowOneSprite.h. |
|
Definition at line 24 of file ShowOneSprite.h. Referenced by draw(), reset(), and ShowOneSprite(). |