@Override
	public int hashCode()
	{
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((backgroundColor == null) ? 0 : backgroundColor.hashCode());
		result = prime * result + ballCount;
		result = prime * result + ballSize;
		result = prime * result + height;
		long temp;
		temp = Double.doubleToLongBits(momentum);
		result = prime * result + (int) (temp ^ (temp >>> 32));
		result = prime * result + speed;
		result = prime * result + width;
		return result;
	}