Classes

Concepts

Libraries

Objects

contractor »

conversationAnswerData »

engineStatData »

issueData »

playerPlatformSpecialistData »

projectReviewConclusion »

projectReviewRemark »

randomEventData »

statusIcon »

filterPasses

Description

This method is called when evaluating a neighbour node that the pathfinder is checking. Return true to successfully evaluate the iterated node. Return false to close the node. Return nil to do nothing.

Arguments

1 number neighborX

the neighbor tile X coordinate. number-neighborY-the neighbor tile Y coordinate. number-tileX-the current tile X coordinate. number-tileY-the current tile X coordinate.

Returns

1 bool

whether the filter has passed.