Local Path Finder
object LocalPathFinder
Content copied to clipboard
Types
Neighbors
Link copied to clipboard
Functions
can Use Door
Link copied to clipboard
find Walkable Path
Link copied to clipboard
get Best
Link copied to clipboard
get Edge For Diagonal Neighbour
Link copied to clipboard
If the given tile (diagonal neighbor) is not blocked, it gets added to the neighbors. If it is blocked, we check if there is a door that has a diagonal rotation Flag.Rotation.DIAGONAL
get Local Neighbors
Link copied to clipboard
fun LocalEdge.getLocalNeighbors(flags: Array<IntArray> = cachedFlags, onlyWalk: Boolean = false): MutableList<LocalEdge>
Content copied to clipboard
Used to find neighbors of LocalEdge
get Passable Object
Link copied to clipboard
is Door
Link copied to clipboard
is Rockfall
Link copied to clipboard
rockfall Block
Link copied to clipboard
Properties
blockedDoors
Link copied to clipboard
cachedFlags
Link copied to clipboard
maxAttempts
Link copied to clipboard