2010-08-23 13:58:57 +08:00
|
|
|
#ifndef _ROTATE_WORLD_TEST_H_
|
|
|
|
#define _ROTATE_WORLD_TEST_H_
|
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
#include "../BaseTest.h"
|
2010-08-23 13:58:57 +08:00
|
|
|
|
2015-04-03 14:31:03 +08:00
|
|
|
DEFINE_TEST_SUITE(RotateWorldTests);
|
|
|
|
|
|
|
|
class RotateWorldTest : public TestCase
|
2010-08-23 13:58:57 +08:00
|
|
|
{
|
|
|
|
public:
|
2015-04-03 14:31:03 +08:00
|
|
|
CREATE_FUNC(RotateWorldTest);
|
|
|
|
|
|
|
|
virtual bool init() override;
|
2010-08-23 13:58:57 +08:00
|
|
|
};
|
|
|
|
|
2015-04-09 08:37:30 +08:00
|
|
|
class SpriteLayer : public cocos2d::Layer
|
2010-08-23 13:58:57 +08:00
|
|
|
{
|
|
|
|
public:
|
2014-02-27 21:10:03 +08:00
|
|
|
virtual void onEnter() override;
|
2012-08-27 16:11:07 +08:00
|
|
|
CREATE_FUNC(SpriteLayer)
|
2010-08-23 13:58:57 +08:00
|
|
|
};
|
|
|
|
|
2015-04-09 08:37:30 +08:00
|
|
|
class TestLayer : public cocos2d::Layer
|
2010-08-23 13:58:57 +08:00
|
|
|
{
|
|
|
|
public:
|
2014-02-27 21:10:03 +08:00
|
|
|
virtual void onEnter() override;
|
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
|
|
|
};
|
|
|
|
|
2015-04-09 08:37:30 +08:00
|
|
|
class RotateWorldMainLayer : public cocos2d::Layer
|
2010-08-23 13:58:57 +08:00
|
|
|
{
|
|
|
|
public:
|
2014-02-27 21:10:03 +08:00
|
|
|
virtual void onEnter() override;
|
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
|