12345678910111213141516171819202122232425262728293031 |
- //
- // Ball.h
- // RedCore2
- //
- // Created by Gabriel Capella on 31/05/17.
- //
- //
- #ifndef Ball_h
- #define Ball_h
- #include "cocos2d.h"
- class Ball : public cocos2d::Node {
- public:
-
- virtual bool init();
-
- void throwBall();
-
- bool onContactBegin(cocos2d::PhysicsContact& contact);
-
- // implement the "static create()" method manually
- CREATE_FUNC(Ball);
-
- private:
-
- };
- #endif /* Ball_h */
|