Package mindustry.io

Class TypeIO.UnitBox

java.lang.Object
mindustry.io.TypeIO.UnitBox
All Implemented Interfaces:
TypeIO.Boxed<mindustry.gen.Unit>
Enclosing class:
TypeIO

public static class TypeIO.UnitBox extends Object implements TypeIO.Boxed<mindustry.gen.Unit>
Represents a unit that has not been resolved yet. TODO unimplemented / unused
  • Field Details

    • id

      public int id
  • Constructor Details

    • UnitBox

      public UnitBox(int id)
  • Method Details

    • unbox

      public mindustry.gen.Unit unbox()
      Specified by:
      unbox in interface TypeIO.Boxed<mindustry.gen.Unit>
    • toString

      public String toString()
      Overrides:
      toString in class Object