public void setX(float x) {
		/*
		 * Iterating through a HashMap is complicated.
		 * This sets the x value for each sprite in sprites.
		 */
		Iterator<Entry<String, Sprite>> it = sprites.entrySet().iterator();
		while (it.hasNext()){
			Map.Entry<String, Sprite> pairs = (Map.Entry<String, Sprite>)it.next();
			Sprite sprite = pairs.getValue();
			sprite.p.setX(x);
		}
	}