added drawImage for other ImageWrapper objects

This commit is contained in:
lehni 2004-07-30 13:23:33 +00:00
parent c491999cf5
commit 6398e21b3b

View file

@ -232,6 +232,18 @@ public class ImageWrapper {
getGraphics().drawImage(img, x, y, null);
}
/**
* Draws another image to this image.
*
* @param filename ...
* @param x ...
* @param y ...
*/
public void drawImage(ImageWrapper image, int x, int y)
throws IOException {
getGraphics().drawImage(image.getImage(), x, y, null);
}
/**
* Draws a filled rectangle to this image.
*