if (canEdit())
if (!canEdit())
    public void replaceTile(Tile find, Tile replace) {        if (canEdit())            return;        for (int y = bounds.y; y < bounds.y + bounds.height; y++) {            for (int x = bounds.x; x < bounds.x + bounds.width; x++) {                if(getTileAt(x,y) == find) {                    setTileAt(x, y, replace);                }            }        }    }