groundHeight = getHeight();
    public void setImage(Image i) {        if (tileset != null) {            tileset.overlayImage(tileImageId, i);        } else {            internalImage = i;        }        groundHeight = getHeight();    }