Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef __FACTORY_H__
- #define __FACTORY_H__
- #include "cocos2d.h"
- USING_NS_CC;
- class Factory : public Node
- {
- public:
- Node* pNode;
- int factoryState = 0;
- int factoryTimer = 60;
- int factoryCrono = 60;
- Factory (void);//Costruttore
- ~Factory (void);//Distruttore
- bool init(Node* aNode);//argument
- static Factory * create(Node* aNode);//argument
- void update(float dt);
- void spawn();
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement