Checks whether a certain place is connected with this path @param place @return true if place is in this path
(Place place)
| 71 | * @return true if place is in this path |
| 72 | */ |
| 73 | public boolean hasPlace(Place place){ |
| 74 | return places[0] == place || places[1] == place; |
| 75 | } |
| 76 | |
| 77 | /** |
| 78 | * Gets the exit directions |
no outgoing calls