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-07-26 06:53:24 +08:00
|
|
|
virtual void restartCallback(Object* sender);
|
|
|
|
virtual void nextCallback(Object* sender);
|
|
|
|
virtual void backCallback(Object* sender);
|
2013-06-07 08:12:28 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* defined(__TestCpp__BaseTest__) */
|