public void move()
	{
		// Entities occasionally slip into walls if we don't do all checks.
		if(x + xDirection + ENTITY_WIDTH > MAX_X && xDirection > 0)
			xDirection *= -1;
		
		if(x <= 0 && xDirection < 0)
			xDirection *= -1;

		if(y + yDirection + ENTITY_HEIGHT > MAX_Y && yDirection > 0)
			yDirection *= -1;
		
		if(y <= 0 && yDirection < 0)
			yDirection *= -1;
		
		x += xDirection * momentum;
		y += yDirection * momentum;
	}