LPCGame
A Simple 2d Game Engine
|
Describes an animation sequence. More...
#include <animatedimage.h>
Public Member Functions | |
Json::Value | Save () const |
void | Load (Json::Value val) |
Public Attributes | |
std::vector< int > | clipIndices |
The clips in the animated image clip array. | |
double | frameRate |
The framerate to play the animation at. | |
std::string | name |
The sequence name. | |
Describes an animation sequence.
void AnimationSequence::Load | ( | Json::Value | val | ) |
Load the sequence from a Json::Value
val | The Json::Value to load from |
Json::Value AnimationSequence::Save | ( | ) | const |
Save the sequence to a Json::Value