2010-08-23 13:58:57 +08:00
|
|
|
#ifndef _ROTATE_WORLD_TEST_H_
|
|
|
|
#define _ROTATE_WORLD_TEST_H_
|
|
|
|
|
|
|
|
#include "../testBasic.h"
|
|
|
|
|
|
|
|
class RotateWorldTestScene : public TestScene
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void runThisTest();
|
|
|
|
};
|
|
|
|
|
|
|
|
class SpriteLayer : public CCLayer
|
|
|
|
{
|
|
|
|
public:
|
2012-04-19 14:35:52 +08:00
|
|
|
virtual void onEnter();
|
2012-08-27 16:11:07 +08:00
|
|
|
CREATE_FUNC(SpriteLayer)
|
2010-08-23 13:58:57 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
class TestLayer : public CCLayer
|
|
|
|
{
|
|
|
|
public:
|
2012-04-19 14:35:52 +08:00
|
|
|
virtual void onEnter();
|
2010-08-23 13:58:57 +08:00
|
|
|
|
2012-08-27 16:11:07 +08:00
|
|
|
CREATE_FUNC(TestLayer)
|
2010-08-23 13:58:57 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
class RotateWorldMainLayer : public CCLayer
|
|
|
|
{
|
|
|
|
public:
|
2012-04-19 14:35:52 +08:00
|
|
|
virtual void onEnter();
|
2010-08-23 13:58:57 +08:00
|
|
|
|
2012-08-27 16:11:07 +08:00
|
|
|
CREATE_FUNC(RotateWorldMainLayer)
|
2010-08-23 13:58:57 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|