axmol/samples/Cpp/TestCpp/Classes/DataVisitorTest/DataVisitorTest.h

28 lines
484 B
C
Raw Normal View History

#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__