LPCGame
A Simple 2d Game Engine
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
AnimationSequence Struct Reference

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.
 

Detailed Description

Describes an animation sequence.

Member Function Documentation

void AnimationSequence::Load ( Json::Value  val)

Load the sequence from a Json::Value

Parameters
valThe Json::Value to load from
Json::Value AnimationSequence::Save ( ) const

Save the sequence to a Json::Value

Returns
The sequence information as a Json::Value

The documentation for this struct was generated from the following files: