public MapItem getMapItem(Point location){
        for (MapItem item : this.getItems()){
            if (item.getLocation().equals(location)){
                System.out.println("number 1");
                return item;
            }
        }
        return null;
    }