}  if (maxTileHeight < tileHeight) { maxTileHeight = tileHeight;
    public int addTile(Tile t) {        if (t.getId() < 0) {            t.setId(tiles.getMaxId());        }                if (tileHeight < t.getHeight()) {            tileHeight = t.getHeight();        }                 if (maxTileHeight < tileHeight) {        	maxTileHeight = tileHeight;        }        if (tileWidth < t.getWidth()) {            tileWidth = t.getWidth();        }                tiles.put(t.getId(), t);        //System.out.println("adding tile " +t.getId());        t.setTileSet(this);        return t.getId();    }