canReach

boolean canReach(Positionable position)

Checks if the specified position is reachable from the source position

Return

true if the position is reachable, false otherwise

Parameters

position

the position to check