mirror of https://github.com/axmolengine/axmol.git
20 lines
338 B
C++
20 lines
338 B
C++
#ifndef _CONTROLLER_H_
|
|
#define _CONTROLLER_H_
|
|
|
|
#include "CCLayer.h"
|
|
|
|
using namespace cocos2d;
|
|
|
|
class TestController : public CCLayer
|
|
{
|
|
public:
|
|
TestController();
|
|
|
|
virtual void onEnter();
|
|
|
|
virtual bool ccTouchBegan(CCTouch *pTouch, UIEvent *pEvent);
|
|
virtual void registerWithTouchDispatcher();
|
|
};
|
|
|
|
#endif
|