sftools
2.0 dev
Bunch of tools for SFML application development
|
Path
class and be able to do something like Locations loc; loc.add({"res"}.add({"img"}, {"snd"}), {"extra"})
. It could be usefull to provide a 'combine(LoopFrameStream)' method to use more than one sprite sheet for an animation.
In the same vein a 'add(Frame)' or 'add(begin, end)' could be useful too.
Does 'loop == false' means the animation should keep displaying the last frame or display nothing at all when the last frame is reached ? Currently the first solution is implemented but it might be more cleaver to implement the second one. Or add a LoopPolicy..
T
so the singleton object could be used everywhere T
is used. However there might be issues with NonCopyable and NonInstanceable.