canReach

open fun canReach(position: Positionable): Boolean

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