I have tried to subclass it, but it gives me an error. Something about GreenfootImage being an abstract class. By implementing I mean writing this:
public class MyImage implements GreenfootImage
instead of:
public class MyImage extends GreenfootImage
Oh never mind.. I don't get why I couldn't make it work last time I tried. I ended up writing the following and it works fine.
public class MyImage extends GreenfootImage
{
public MyImage(int width, int height)
{
super(width, height);
}
}