Package mindustry.ai

Class ControlPathfinder.PathfindResult

java.lang.Object
mindustry.ai.ControlPathfinder.PathfindResult
Enclosing class:
ControlPathfinder

public static class ControlPathfinder.PathfindResult extends Object
  • Field Details

    • unreachable

      public boolean unreachable
      If true, the request cannot be satisfied.
    • move

      public boolean move
      If true, the request is ready to execute.
    • next

      @Nullable public Tile 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 dest
      Destination vector. Only valid if move is true.
  • Constructor Details

    • PathfindResult

      public PathfindResult()