GAF Library
Generic Animation Format
Main Page
Classes
Files
File List
All
Classes
Functions
Pages
GAFAnimationSequence.h
1
#pragma once
2
3
#ifndef __GAF_ANIMATION_SEQUENCE_H__
4
#define __GAF_ANIMATION_SEQUENCE_H__
5
6
#include "cocoa/CCObject.h"
7
#include <string>
8
9
using namespace
cocos2d;
10
11
class
GAFAnimationSequence
:
public
CCObject
12
{
13
public
:
14
std::string name;
15
int
startFrameNo;
16
int
endFrameNo;
17
inline
int
length()
const
18
{
19
return
endFrameNo - startFrameNo;
20
}
21
};
22
23
#endif // __GAF_ANIMATION_SEQUENCE_H__
GAFAnimationSequence
Definition:
GAFAnimationSequence.h:11
Generated on Thu Jan 9 2014 17:36:45 for GAF Library by
1.8.6