mirror of https://github.com/axmolengine/axmol.git
22 lines
652 B
C++
22 lines
652 B
C++
#ifndef __MUTITOUCHTEST_H__
|
|
#define __MUTITOUCHTEST_H__
|
|
|
|
#include "../BaseTest.h"
|
|
|
|
DEFINE_TEST_SUITE(MutiTouchTests);
|
|
|
|
class MutiTouchTest : public TestCase
|
|
{
|
|
public:
|
|
CREATE_FUNC(MutiTouchTest);
|
|
|
|
virtual bool init() override;
|
|
|
|
void onTouchesBegan(const std::vector<cocos2d::Touch*>& touches, cocos2d::Event *event);
|
|
void onTouchesMoved(const std::vector<cocos2d::Touch*>& touches, cocos2d::Event *event);
|
|
void onTouchesEnded(const std::vector<cocos2d::Touch*>& touches, cocos2d::Event *event);
|
|
void onTouchesCancelled(const std::vector<cocos2d::Touch*>& touches, cocos2d::Event *event);
|
|
};
|
|
|
|
#endif /* __MUTITOUCHTEST_H__ */
|