|
|
| SpriteComponent (const char *path, int zIndex) |
| |
|
| SpriteComponent (const char *path, int xOffset, int yOffset, int zIndex) |
| |
|
| SpriteComponent (const char *path, bool isAnimated, std::map< std::string, std::unique_ptr< Animation > > *animationList, std::string defaultAnimation, int zIndex) |
| |
|
void | setTexture (const char *path) |
| |
| void | init () override |
| |
| void | update () override |
| |
| void | draw () override |
| |
|
void | playAnimation (std::string type) |
| |
|
void | setDirection (Direction direction) |
| |
|
| RenderObject (int zIndex, RenderManager &renderManager) |
| |
|
int | getZIndex () |
| |
|
|
int | animationIndex = 0 |
| |
|
std::map< std::string, std::unique_ptr< Animation > > * | animations = nullptr |
| |
|
Entity * | entity |
| |
◆ draw()
| void SpriteComponent::draw |
( |
| ) |
|
|
overridevirtual |
◆ init()
| void SpriteComponent::init |
( |
| ) |
|
|
overridevirtual |
◆ update()
| void SpriteComponent::update |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: