add Maze.goingToPortalDirection(position), Maze.goingFromPortalDirection(position) ; add Line.isParallelToDirection(direction) ; finish Pacman.MakeMovementToDirection()