public Direction directionContaining(Point p){
		if(backWall.contains(p)) return forwardDir;
		if(backDirRect.contains(p)) return backDir;
		if(rightWall.contains(p)) return forwardDir.getRightDirection();
		if(leftWall.contains(p)) return forwardDir.getLeftDirection();
		return null;
	}