public void moveAll(String name, GameObject object) {
		Chest c = null;
		Avatar a = null;
		String loc = null;
		ArrayList<GameObject> shadowChest = new ArrayList<GameObject>();

		for (Avatar v : avatarLocations.keySet()) {
			if (v.getName().equals(name)) {
				a = v;
				loc = v.getLocationName();
			}
		}
		for (GameObject o : locations.get(loc).getAllObjects()) {
			if (o.getName().equals(object.getName())) {
				c = (Chest) o;//
			}
		}
		if(c.getContents().size() > 0){
			for(GameObject ob: c.getContents()){
				if(a.canContain((Containable) ob)){
					a.getPosessions().add((Containable) ob);
					shadowChest.add(ob);
				}
			}
		}
		for(GameObject obj: shadowChest){
			c.getContents().remove(obj);
		}

	}