Class Position


  • public class Position
    extends java.lang.Object
    • Method Detail

      • getX

        public int getX()
      • getY

        public int getY()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • of

        public static Position of​(int x,
                                  int y)
      • toSlot

        public static int toSlot​(Container container,
                                 int x,
                                 int y)