mirror of https://github.com/axmolengine/axmol.git
28 lines
484 B
C++
28 lines
484 B
C++
#ifndef __DATAVISITOR_TEST_H__
|
|
#define __DATAVISITOR_TEST_H__
|
|
|
|
#include "../testBasic.h"
|
|
|
|
#include <string>
|
|
|
|
class PrettyPrinterDemo : public Layer
|
|
{
|
|
public:
|
|
virtual std::string title();
|
|
virtual std::string subtitle();
|
|
virtual void onEnter();
|
|
void addSprite();
|
|
protected:
|
|
std::string _title;
|
|
};
|
|
|
|
class DataVisitorTestScene : public TestScene
|
|
{
|
|
public:
|
|
virtual void runThisTest();
|
|
|
|
CREATE_FUNC(DataVisitorTestScene);
|
|
};
|
|
|
|
#endif // __DATAVISITOR_TEST_H__
|