11 #ifndef CUBBYFLOW_FRAME_HPP 12 #define CUBBYFLOW_FRAME_HPP 28 Frame(
int newIndex,
double newTimeIntervalInSeconds);
Frame & operator++()
Advances single frame (prefix).
int index
Frame index.
Definition: Frame.hpp:47
void Advance()
Advances single frame.
Definition: pybind11Utils.hpp:20
double TimeInSeconds() const
Returns the elapsed time in seconds.
double timeIntervalInSeconds
Time interval in seconds between two adjacent frames.
Definition: Frame.hpp:50
Representation of an animation frame.
Definition: Frame.hpp:22
Frame()=default
Default constructor: A Frame instance with 1/60 seconds time interval.