Class DirectionalItemBuffer

java.lang.Object
mindustry.world.DirectionalItemBuffer

public class DirectionalItemBuffer extends Object
  • Field Details

    • buffers

      public final long[][] buffers
    • indexes

      public final int[] indexes
  • Constructor Details

    • DirectionalItemBuffer

      public DirectionalItemBuffer(int capacity)
  • Method Details

    • accepts

      public boolean accepts(int buffer)
    • accept

      public void accept(int buffer, Item item)
    • poll

      public Item poll(int buffer, float speed)
    • remove

      public void remove(int buffer)
    • write

      public void write(Writes write)
    • read

      public void read(Reads read)