Old Local Path
LocalPath
Types
Functions
traverse
Link copied to clipboard
Takes a step along this path if appropriate. Specifies only TraversalOption.SPACE_ACTIONS.
open override fun traverse(options: EnumSet<Path.TraversalOption>): Boolean
Content copied to clipboard
Takes a step along this path if appropriate. If the path cannot be traversed due to the player being too far from its vertices or already at the end vertex, false
will be returned. In all other cases, true
will be returned, but an action will not necessarily be performed (based on the given options).