Currently, sf::Sprite objects are used in GUI elements and animations are performed by changing the texture. However as we know, changing sub-rectangle of the texture displayed by using a sprite sheet is more efficient and that's what mp::AnimatedSprite does.
Currently, sf::Sprite objects are used in GUI elements and animations are performed by changing the texture. However as we know, changing sub-rectangle of the texture displayed by using a sprite sheet is more efficient and that's what mp::AnimatedSprite does.