I'm trying to create an object that will extend the class Drawable. However, I have no clue how to implement the draw() method, but if I don't implement it, nothing gets drawn. What code should I put within the draw() method so that my Drawable is drawn?
lol, thanks, but I already tried that.
Drawable is an abstract class, and Drawable.draw() is an abstract method, so I have to write the code for it explicitly.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.