Replies To: Cannot extend Sprite

Re: Cannot extend Sprite

Posted 15 January 2012 - 08:35 AM

What do you mean cannot extend Sprite? do you get any error messages?
I'd suggest that you check the Sprite constructor and see if you have to provide parameters.
call super in the first line of code of the derived class (SpinningBall) constructor, and pass it the appropriate parameters.