axmol/test_uphone/tests/controller.h

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