This commit is contained in:
Alexander Lobas
2012-12-19 21:44:17 +04:00
parent d56903812b
commit 11ec701b43
@@ -23,14 +23,18 @@ import java.awt.image.BufferedImage;
* @author Alexander Lobas
*/
public class RootView extends JComponent {
private int myX;
private int myY;
private final int myX;
private final int myY;
protected BufferedImage myImage;
public RootView(int x, int y, BufferedImage image) {
this(x, y);
setImage(image);
}
public RootView(int x, int y) {
myX = x;
myY = y;
setImage(image);
}
public BufferedImage getImage() {