2013-06-07 08:12:28 +08:00
|
|
|
//
|
|
|
|
// BaseTest.h
|
|
|
|
// TestCpp
|
|
|
|
//
|
|
|
|
// Created by Ricardo Quesada on 6/6/13.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef __TestCpp__BaseTest__
|
|
|
|
#define __TestCpp__BaseTest__
|
|
|
|
|
|
|
|
#include "cocos2d.h"
|
|
|
|
|
2013-06-20 14:17:10 +08:00
|
|
|
class BaseTest : public cocos2d::Layer
|
2013-06-07 08:12:28 +08:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void onEnter();
|
|
|
|
virtual void onExit();
|
|
|
|
|
|
|
|
virtual std::string title();
|
|
|
|
virtual std::string subtitle();
|
|
|
|
|
2013-06-20 14:17:10 +08:00
|
|
|
virtual void restartCallback(Object* pSender);
|
|
|
|
virtual void nextCallback(Object* pSender);
|
|
|
|
virtual void backCallback(Object* pSender);
|
2013-06-07 08:12:28 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* defined(__TestCpp__BaseTest__) */
|