sftools
2.0 dev
Bunch of tools for SFML application development
|
Abstract class for animation frames stream management. More...
#include <FrameStream.hpp>
Public Member Functions | |
virtual Frame | getFrameAt (sf::Time time) const =0 |
Seek and fetch a frame at a given point in time. | |
virtual | ~FrameStream () |
Virtual destructor. | |
Abstract class for animation frames stream management.
Definition at line 51 of file FrameStream.hpp.
|
inlinevirtual |
Virtual destructor.
Does nothing special. It's here for inheritance purposes.
Definition at line 72 of file FrameStream.hpp.
|
pure virtual |
Seek and fetch a frame at a given point in time.
Subclasses must implement this function in order to provide the Animation class all the tools required to render the animation.
time | time elapsed since the start of the animation |
Implemented in sftools::LoopFrameStream.