Make sure it compiles after Change in test

This commit is contained in:
Nite Luo 2013-11-12 11:23:10 -08:00
parent 8c972d96a8
commit d7b76a871e
2 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@ Layer* restartSpriteTestAction();
static std::function<Layer*()> createFunctions[] =
{
CL(NewRendererTest),
CL(NewSpriteTest),
};
#define MAX_LAYER (sizeof(createFunctions) / sizeof(createFunctions[0]))
@ -111,16 +111,16 @@ void MultiSceneTest::backCallback(Object *sender)
s->release();
}
NewSpriteTest::NewRendererTest()
NewSpriteTest::NewSpriteTest()
{
auto touchListener = EventListenerTouchAllAtOnce::create();
touchListener->onTouchesEnded = CC_CALLBACK_2(NewRendererTest::onTouchesEnded, this);
touchListener->onTouchesEnded = CC_CALLBACK_2(NewSpriteTest::onTouchesEnded, this);
createSpriteTest();
createNewSpriteTest();
}
NewSpriteTest::~NewRendererTest()
NewSpriteTest::~NewSpriteTest()
{
}

View File

@ -37,8 +37,8 @@ public:
class NewSpriteTest : public MultiSceneTest
{
public:
NewRendererTest();
virtual ~NewRendererTest();
NewSpriteTest();
virtual ~NewSpriteTest();
virtual string title();
virtual string subtitle();