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:
|
2013-12-19 05:52:10 +08:00
|
|
|
virtual std::string title() const;
|
|
|
|
virtual std::string subtitle() const;
|
2013-06-07 08:12:28 +08:00
|
|
|
|
2013-07-26 06:53:24 +08:00
|
|
|
virtual void restartCallback(Object* sender);
|
|
|
|
virtual void nextCallback(Object* sender);
|
|
|
|
virtual void backCallback(Object* sender);
|
2013-12-19 05:52:10 +08:00
|
|
|
|
|
|
|
virtual void onEnter() override;
|
|
|
|
virtual void onExit() override;
|
2013-06-07 08:12:28 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* defined(__TestCpp__BaseTest__) */
|