mirror of https://github.com/axmolengine/axmol.git
issue #116: remove __super
This commit is contained in:
parent
1157668775
commit
8b0bc69484
|
@ -55,7 +55,7 @@ std::string MotionStreakTest1::title()
|
|||
|
||||
void MotionStreakTest2::onEnter()
|
||||
{
|
||||
__sMotionStreakTestuper::onEnter();
|
||||
MotionStreakTest::onEnter();
|
||||
|
||||
setIsTouchEnabled(true);
|
||||
|
||||
|
|
|
@ -36,13 +36,13 @@ bool Paddle::initWithTexture(CCTexture2D* aTexture)
|
|||
void Paddle::onEnter()
|
||||
{
|
||||
CCTouchDispatcher::getSharedDispatcher()->addTargetedDelegate(this, 0, true);
|
||||
__super::onEnter();
|
||||
CCSprite::onEnter();
|
||||
}
|
||||
|
||||
void Paddle::onExit()
|
||||
{
|
||||
CCTouchDispatcher::getSharedDispatcher()->removeDelegate(this);
|
||||
__super::onExit();
|
||||
CCSprite::onExit();
|
||||
}
|
||||
|
||||
bool Paddle::containsTouchLocation(CCTouch* touch)
|
||||
|
|
Loading…
Reference in New Issue