2011-07-08 11:22:35 +08:00
|
|
|
#ifndef __BUG_914_H__
|
|
|
|
#define __BUG_914_H__
|
|
|
|
|
|
|
|
#include "BugsTest.h"
|
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
class Bug914Layer : public BugsTestBase
|
2011-07-08 11:22:35 +08:00
|
|
|
{
|
|
|
|
public:
|
2015-03-15 02:33:15 +08:00
|
|
|
virtual bool init() override;
|
2011-07-08 11:22:35 +08:00
|
|
|
|
2015-04-09 08:37:30 +08:00
|
|
|
void onTouchesMoved(const std::vector<cocos2d::Touch*>& touches, cocos2d::Event* event);
|
|
|
|
void onTouchesBegan(const std::vector<cocos2d::Touch*>& touches, cocos2d::Event* event);
|
|
|
|
void restart(cocos2d::Ref* sender);
|
2011-07-08 11:22:35 +08:00
|
|
|
|
2012-08-27 16:11:07 +08:00
|
|
|
CREATE_FUNC(Bug914Layer);
|
2011-07-08 11:22:35 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __BUG_914_H__
|