Package mindustry.ai
Class ControlPathfinder.PathfindResult
java.lang.Object
mindustry.ai.ControlPathfinder.PathfindResult
- Enclosing class:
- ControlPathfinder
-
Field Summary
FieldsModifier and TypeFieldDescriptionarc.math.geom.Vec2Destination vector.booleanIf true, the request is ready to execute.If move is true, this is the next tile to move on.booleanIf true, the request cannot be satisfied. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
unreachable
public boolean unreachableIf true, the request cannot be satisfied. -
move
public boolean moveIf true, the request is ready to execute. -
next
If move is true, this is the next tile to move on. Don't use this unless you know what you are doing. -
dest
public arc.math.geom.Vec2 destDestination vector. Only valid if move is true.
-
-
Constructor Details
-
PathfindResult
public PathfindResult()
-