#include <maintestdisplay.hpp>
|
| | Sprite (std::string path, int animationLimit=0) |
| |
| | ~Sprite ()=default |
| |
| void | animateSprite (int frameCount, int frameToBegin, int numberFrameToAnim, float switchTime, int top, int bottom, sf::Clock clock, sf::RenderWindow &window) |
| |
| void | drawSprite (sf::RenderWindow &window) |
| |
| int | getSizeY () |
| |
| int | getSizeX () |
| |
Definition at line 7 of file maintestdisplay.hpp.
◆ Sprite()
| Sprite::Sprite |
( |
std::string |
path, |
|
|
int |
animationLimit = 0 |
|
) |
| |
◆ ~Sprite()
◆ animateSprite()
| void Sprite::animateSprite |
( |
int |
frameCount, |
|
|
int |
frameToBegin, |
|
|
int |
numberFrameToAnim, |
|
|
float |
switchTime, |
|
|
int |
top, |
|
|
int |
bottom, |
|
|
sf::Clock |
clock, |
|
|
sf::RenderWindow & |
window |
|
) |
| |
◆ drawSprite()
| void Sprite::drawSprite |
( |
sf::RenderWindow & |
window | ) |
|
|
inline |
◆ getSizeX()
◆ getSizeY()
◆ _AnimationLimit
| int Sprite::_AnimationLimit |
|
protected |
◆ _EndAnimation
| bool Sprite::_EndAnimation |
|
protected |
◆ _NumberAnimation
| int Sprite::_NumberAnimation |
|
protected |
◆ _Sprite
| sf::Sprite Sprite::_Sprite |
◆ _Texture
| sf::Texture Sprite::_Texture |
The documentation for this class was generated from the following file: