public void keepInBounds()
	{
		if(x < 0)
			x = 0;
		if(y < 0)
			y = 0;
		if(x + width > PongScreen.width)
			x = PongScreen.width - width;
		if(y + height > PongScreen.height)
			y = PongScreen.height - height;
		rect.setLocation(x, y);
	}