Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef __TOUCH_AND_MOVE_H__
- #define __TOUCH_AND_MOVE_H__
- #include "cocos2d.h"
- USING_NS_CC;
- class TouchMove: public Layer
- {
- Sprite* background;
- Sprite* cloud;
- public:
- virtual bool init();
- static Scene* createScene();
- CREATE_FUNC(TouchMove);
- static Size screen()
- {
- return Director::getInstance()->getWinSize();
- }
- void update(float dt);
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement