Library for saving and loading animations of arbitrary image types, so long as images can be loaded and saved.
Provides the following API:
AnimFrame
— Contains information on frame durations and frame content.Anim
— A series ofAnimFrames
in sequence.AnimManager::load
— Animation loader, requires a function that loads in a frame from astd::istream
. Returns anAnim
.AnimManager::save
— Animation saver, requires a function that serializes a frame such that it can be written out with anstd::ostream
. Takes anAnim
.