axmol/samples/Cpp/TestCpp/Classes/ExtensionsTest/ExtensionsTest.h

27 lines
521 B
C
Raw Normal View History

#ifndef __EXTENSIONS_TEST_H__
#define __EXTENSIONS_TEST_H__
#include "../testBasic.h"
class ExtensionsMainLayer : public Layer
{
public:
virtual void onEnter();
virtual void onTouchesBegan(const std::vector<Touch*>& touches, Event *event);
virtual void onTouchesMoved(const std::vector<Touch*>& touches, Event *event);
Point _beginPos;
Menu* _itemMenu;
int _testcount;
};
class ExtensionsTestScene : public TestScene
{
public:
virtual void runThisTest();
};
#endif /* __EXTENSIONS_TEST_H__ */