calling parent method

calling parent method
0.0 0


hi, i’m really new at cocos programming
i’m trying to call parent method from object

in my hello world scene, i add child arrow object,
and got a removeSprite() function to remove that sprite

the question is how i call the removeSprite() function from my arrow class?



got it, there is a method getParent();