mirror of https://github.com/axmolengine/axmol.git
30 lines
527 B
C++
30 lines
527 B
C++
//
|
|
// BaseTest.h
|
|
// TestCpp
|
|
//
|
|
// Created by Ricardo Quesada on 6/6/13.
|
|
//
|
|
//
|
|
|
|
#ifndef __TestCpp__BaseTest__
|
|
#define __TestCpp__BaseTest__
|
|
|
|
#include "cocos2d.h"
|
|
|
|
class BaseTest : public cocos2d::Layer
|
|
{
|
|
public:
|
|
virtual void onEnter();
|
|
virtual void onExit();
|
|
|
|
virtual std::string title();
|
|
virtual std::string subtitle();
|
|
|
|
virtual void restartCallback(Object* pSender);
|
|
virtual void nextCallback(Object* pSender);
|
|
virtual void backCallback(Object* pSender);
|
|
};
|
|
|
|
|
|
#endif /* defined(__TestCpp__BaseTest__) */
|