map[y][x] = myMap.getNullTile();
setTileAt(x + bounds.x, y + bounds.y, myMap.getNullTile());
    public void removeTile(Tile tile) throws Exception{        if (getLocked()) {            throw new Exception(                    "Attempted to remove tile when this layer is locked.");        }        for (int y = 0; y < bounds.height; y++) {            for (int x = 0; x < bounds.width; x++) {                if (map[y][x] == tile) {                    map[y][x] = myMap.getNullTile();                }            }        }    }