Package mindustry.ai
Class Pathfinder.PositionTarget
java.lang.Object
mindustry.ai.Pathfinder.Flowfield
mindustry.ai.Pathfinder.PositionTarget
- Enclosing class:
- Pathfinder
-
Field Summary
Fields inherited from class mindustry.ai.Pathfinder.Flowfield
completeWeights, cost, dirty, hasComplete, refreshRate, searches, team, weights
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getPositions
(IntSeq out) Gets targets to pathfind towards.Methods inherited from class mindustry.ai.Pathfinder.Flowfield
hasCompleteWeights, passable, updateTargetPositions
-
Field Details
-
position
-
-
Constructor Details
-
PositionTarget
-
-
Method Details
-
getPositions
Description copied from class:Pathfinder.Flowfield
Gets targets to pathfind towards. This must run on the main thread.- Specified by:
getPositions
in classPathfinder.Flowfield
-