GAF Library
Generic Animation Format
Main Page
Classes
Files
File List
All
Classes
Functions
Pages
GAFTextureAtlasElement.h
1
#pragma once
2
3
#ifndef __GAF_TEXTURE_ATLAS_ELEMENT__
4
#define __GAF_TEXTURE_ATLAS_ELEMENT__
5
6
#include <string>
7
#include "cocoa/CCGeometry.h"
8
9
namespace
cocos2d
10
{
11
class
CCDictionary;
12
}
13
14
using namespace
cocos2d;
15
16
class
GAFTextureAtlasElement
:
public
CCObject
17
{
18
public
:
19
std::string name;
20
CCPoint pivotPoint;
21
CCRect bounds;
22
float
scale;
23
unsigned
int
atlasIdx;
24
25
static
GAFTextureAtlasElement
* create(CCDictionary * aDictionary);
26
bool
initWithDictionary(CCDictionary * aDictionary);
27
private
:
28
GAFTextureAtlasElement
();
29
};
// GAFTextureAtlasElement
30
31
#endif // __GAF_TEXTURE_ATLAS_ELEMENT__
GAFTextureAtlasElement
Definition:
GAFTextureAtlasElement.h:16
Generated on Thu Jan 9 2014 17:36:45 for GAF Library by
1.8.6