|
|
| SpriteComponent (const char *path) |
| |
|
| SpriteComponent (const char *path, bool isAnimated) |
| |
|
void | setTexture (const char *path) |
| |
| void | init () override |
| |
| void | update () override |
| |
| void | draw () override |
| |
|
void | playAnimation (AnimationType type) |
| |
|
void | setDirection (Direction direction) |
| |
|
|
int | animationIndex = 0 |
| |
|
std::map< AnimationType, std::unique_ptr< Animation > > | animations |
| |
|
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: