|
|
Textures | getTexture () |
| |
|
| SpriteComponent (Textures texture, int zIndex) |
| |
|
| SpriteComponent (Textures texture, int xOffset, int yOffset, int zIndex) |
| |
|
| SpriteComponent (const char *path, int xOffset, int yOffset, int zIndex) |
| |
|
| SpriteComponent (Textures texture, bool isAnimated, std::map< std::string, std::unique_ptr< Animation > > *animationList, std::string defaultAnimation, int zIndex) |
| |
|
void | setTexture (Textures texture) |
| |
|
void | setMapTileTexture (const char *path) |
| |
| void | init () override |
| |
| void | update (uint_fast16_t diffTime) 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 |
( |
uint_fast16_t | diffTime | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: