Class SlotPos

java.lang.Object
dev.aurelium.slate.inv.content.SlotPos

public class SlotPos extends Object
Represents the position (row + column) of a slot in an inventory.
  • Constructor Details

    • SlotPos

      public SlotPos(int row, int column)
  • Method Details

    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getRow

      public int getRow()
    • getColumn

      public int getColumn()
    • of

      public static SlotPos of(int row, int column)
    • parse

      public static SlotPos parse(String input)