groundHeight = getHeight();
    public void setTileSet(TileSet set) {        tileset = set;        if (internalImage != null) {            tileImageId = set.addImage(internalImage);			internalImage = null;        }    }