public void flipDirection(Direction direction){
		if (direction == Direction.RIGHT || direction == Direction.LEFT){
			dx *= -1;
		} else if (direction == Direction.UP || direction == Direction.DOWN) {
			dy *= -1;
		} else if (direction == Direction.REFLECT) {
			// hits corner of board
			dx *= -1;
			dy *= -1;
		}

		if (Constants.SPEED_INCREMENT_ENABLED) speed += Constants.SPEED_INCREMENT;
	}