Class InputHandler.QueryEachable

java.lang.Object
mindustry.input.InputHandler.QueryEachable
All Implemented Interfaces:
arc.util.Eachable<BuildPlan>
Enclosing class:
InputHandler

public static class InputHandler.QueryEachable extends Object implements arc.util.Eachable<BuildPlan>
In the interest of preserving compatibility, this implementation replaces Eachable with its own methods, and requires blocks to cast it to use it properly. It's a massive hack.
  • Constructor Details

    • QueryEachable

      public QueryEachable(arc.math.geom.QuadTree<BuildPlan> tree, arc.struct.Seq<BuildPlan>... fallback)
  • Method Details

    • each

      public void each(arc.func.Cons<? super BuildPlan> cons)
      Specified by:
      each in interface arc.util.Eachable<BuildPlan>
    • find

      public BuildPlan find(int x, int y, arc.func.Boolf<BuildPlan> check)
    • find

      public BuildPlan find(int x, int y, int size, arc.func.Boolf<BuildPlan> check)