There could be an animation class which holds a single animation set, and another class that could have a container of these, which could be used for different states/directions/etc.
It could contain the sprite object, or it could be bound to a sprite object through a pointer or reference.
Or we could consider using the Thor C++ library which has this and many other features we need.
There could be an animation class which holds a single animation set, and another class that could have a container of these, which could be used for different states/directions/etc.
It could contain the sprite object, or it could be bound to a sprite object through a pointer or reference.
Or we could consider using the Thor C++ library which has this and many other features we need.