issue #116: remove __super

This commit is contained in:
Ming 2010-09-02 07:31:18 +00:00
parent 1157668775
commit 8b0bc69484
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ std::string MotionStreakTest1::title()
void MotionStreakTest2::onEnter() void MotionStreakTest2::onEnter()
{ {
__sMotionStreakTestuper::onEnter(); MotionStreakTest::onEnter();
setIsTouchEnabled(true); setIsTouchEnabled(true);

View File

@ -36,13 +36,13 @@ bool Paddle::initWithTexture(CCTexture2D* aTexture)
void Paddle::onEnter() void Paddle::onEnter()
{ {
CCTouchDispatcher::getSharedDispatcher()->addTargetedDelegate(this, 0, true); CCTouchDispatcher::getSharedDispatcher()->addTargetedDelegate(this, 0, true);
__super::onEnter(); CCSprite::onEnter();
} }
void Paddle::onExit() void Paddle::onExit()
{ {
CCTouchDispatcher::getSharedDispatcher()->removeDelegate(this); CCTouchDispatcher::getSharedDispatcher()->removeDelegate(this);
__super::onExit(); CCSprite::onExit();
} }
bool Paddle::containsTouchLocation(CCTouch* touch) bool Paddle::containsTouchLocation(CCTouch* touch)