@Override
	public boolean equals(Object o) {
		if (!(o != null && o instanceof Spatial))
			return false;

		Spatial s = (Spatial) o;
		return s.x == x && s.y == y && s.height == height && s.width == width && s.rotation == rotation;
	}