![]() |
Prodislexos Game
Cyberpunk Game
|
#include <Animation.h>
Membros Públicos | |
Animation () | |
void | addFrame (const sf::IntRect &rect) |
void | setSpriteSheet (const sf::Texture &texture) |
void | setFrameDuration (float duration) |
void | setLooping (bool loop) |
void | update (float deltaTime) |
void | applyToSprite (sf::Sprite &sprite) const |
Animation::Animation | ( | ) |
void Animation::addFrame | ( | const sf::IntRect & | rect | ) |
void Animation::applyToSprite | ( | sf::Sprite & | sprite | ) | const |
void Animation::setFrameDuration | ( | float | duration | ) |
void Animation::setLooping | ( | bool | loop | ) |
void Animation::setSpriteSheet | ( | const sf::Texture & | texture | ) |
void Animation::update | ( | float | deltaTime | ) |