private MapObstacle getMapObstacle(Point location){
        for (MapObstacle obstacle : getObstacles()){
            if (obstacle.getLocation().equals(location)){
                return obstacle;
            }
        }
        return null;
    }