Package mindustry.ai
Class Pathfinder.EnemyCoreField
java.lang.Object
mindustry.ai.Pathfinder.Flowfield
mindustry.ai.Pathfinder.EnemyCoreField
- Enclosing class:
- Pathfinder
-
Field Summary
Fields inherited from class mindustry.ai.Pathfinder.Flowfield
completeWeights, cost, dirty, hasComplete, height, refreshRate, resolution, searches, team, weights, width
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
getPositions
(arc.struct.IntSeq out) Gets targets to pathfind towards.Methods inherited from class mindustry.ai.Pathfinder.Flowfield
getCost, getNextTile, getNextTile, hasCompleteWeights, hasTargets, needsRefresh, passable, updateTargetPositions
-
Constructor Details
-
EnemyCoreField
public EnemyCoreField()
-
-
Method Details
-
getPositions
protected void getPositions(arc.struct.IntSeq out) Description copied from class:Pathfinder.Flowfield
Gets targets to pathfind towards. This must run on the main thread.- Specified by:
getPositions
in classPathfinder.Flowfield
-