mirror of https://github.com/axmolengine/axmol.git
issue #119
This commit is contained in:
parent
9258d171aa
commit
5ee84cb4d4
|
@ -314,7 +314,7 @@ void ResumeTest::onEnter()
|
|||
this->schedule(schedule_selector(ResumeTest::resumeGrossini), 3.0f);
|
||||
}
|
||||
|
||||
void ResumeTest::resumeGrossini()
|
||||
void ResumeTest::resumeGrossini(ccTime time)
|
||||
{
|
||||
this->unschedule(schedule_selector(ResumeTest::resumeGrossini));
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ class ResumeTest : public ActionManagerTest
|
|||
public:
|
||||
virtual std::string title();
|
||||
virtual void onEnter();
|
||||
void resumeGrossini();
|
||||
void resumeGrossini(ccTime time);
|
||||
};
|
||||
|
||||
class ActionManagerTestScene : public TestScene
|
||||
|
|
|
@ -599,7 +599,7 @@ void ActionSequence2::callback1()
|
|||
addChild(label);
|
||||
}
|
||||
|
||||
void ActionSequence2::callback2(NSObject* sender)
|
||||
void ActionSequence2::callback2(CCNode* sender)
|
||||
{
|
||||
CGSize s = CCDirector::getSharedDirector()->getWinSize();
|
||||
CCLabel *label = CCLabel::labelWithString("callback 2 called", "Marker Felt", 16);
|
||||
|
@ -608,7 +608,7 @@ void ActionSequence2::callback2(NSObject* sender)
|
|||
addChild(label);
|
||||
}
|
||||
|
||||
void ActionSequence2::callback3(NSObject* sender, void* data)
|
||||
void ActionSequence2::callback3(CCNode* sender, void* data)
|
||||
{
|
||||
CGSize s = CCDirector::getSharedDirector()->getWinSize();
|
||||
CCLabel *label = CCLabel::labelWithString("callback 3 called", "Marker Felt", 16);
|
||||
|
|
|
@ -147,8 +147,8 @@ public:
|
|||
virtual std::string subtitle();
|
||||
|
||||
void callback1();
|
||||
void callback2(NSObject* sender);
|
||||
void callback3(NSObject* sender, void* data);
|
||||
void callback2(CCNode* sender);
|
||||
void callback3(CCNode* sender, void* data);
|
||||
};
|
||||
|
||||
class ActionSpawn : public ActionsDemo
|
||||
|
|
|
@ -352,7 +352,7 @@ TMXReadWriteTest::TMXReadWriteTest()
|
|||
m_gid2 = 0;
|
||||
}
|
||||
|
||||
void TMXReadWriteTest::removeSprite(NSObject* sender)
|
||||
void TMXReadWriteTest::removeSprite(CCNode* sender)
|
||||
{
|
||||
////----UXLOG("removing tile: %x", sender);
|
||||
CCNode* p = ((CCNode*)sender)->getParent();
|
||||
|
|
|
@ -84,7 +84,7 @@ public:
|
|||
TMXReadWriteTest(void);
|
||||
virtual std::string title();
|
||||
|
||||
void removeSprite(NSObject* sender);
|
||||
void removeSprite(CCNode* sender);
|
||||
void updateCol(ccTime dt);
|
||||
void repaintWithGID(ccTime dt);
|
||||
void removeTiles(ccTime dt);
|
||||
|
|
Loading…
Reference in New Issue