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()
|
void MotionStreakTest2::onEnter()
|
||||||
{
|
{
|
||||||
__sMotionStreakTestuper::onEnter();
|
MotionStreakTest::onEnter();
|
||||||
|
|
||||||
setIsTouchEnabled(true);
|
setIsTouchEnabled(true);
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue