GAF Library
Generic Animation Format
 All Classes Functions Pages
GAFActionObject.h
1 #pragma once
2 
3 #ifndef __GAF_ACTION_OBJECT__
4 #define __GAF_ACTION_OBJECT__
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 GAFActionObject : public CCObject
17 {
18 public:
19  std::string name; // TODO : think what is it better than CCString
20  CCPoint pivotPoint;
21  CCRect bounds;
22 
23  static GAFActionObject * create(CCDictionary * aDictionary);
24  bool initWithDictionary(CCDictionary * aDictionary);
25 protected:
27 
28 }; // GAFInteractionObject
29 
30 #endif // __GAF_ACTION_OBJECT__
Definition: GAFActionObject.h:16