I have started to make a game using the awesome Slick library, and everything’s going fine, but I figured out there is more than one way to render an image. I usually use
public void draw(Graphics g)
{
g.drawImage(image,0,0);
}
but I found out that i can just do this:
public void draw()
{
image.draw(0,0);
}
Are there any differences in speed or anything? Any other/better ways to render an image?