I have a class I use for a spaceship that inherits from Sprite. I call methods like setRotation() on it. However, I really wish I could call setRotation() but include some of my own code into that method. I realize I can do this, but this does not work because it simply overrides the setRotation() method.
spaceship = Core.class(Sprite)
-- SOME EXTRA CODE
-- HOW DO I ACTUALLY ROTATE THE SPRITE FROM WITHIN THIS FUNCTION?
How would I actually rotate the sprite from within that method? I have seen some posts related to this but did not really understand them. Help would be very appreciated. Thanks!