axmol/tests/cpp-tests/Classes/BugsTest/Bug-914.h

20 lines
474 B
C++

#ifndef __BUG_914_H__
#define __BUG_914_H__
#include "BugsTest.h"
class Bug914Layer : public BugsTestBase
{
public:
static cocos2d::Scene* scene();
virtual bool init() override;
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);
CREATE_FUNC(Bug914Layer);
};
#endif // __BUG_914_H__