Class TextGrid.Cell

  • Enclosing class:
    TextGrid

    public class TextGrid.Cell
    extends java.lang.Object
    • Field Detail

      • x

        public int x
      • y

        public int y
    • Constructor Detail

      • Cell

        public Cell​(int x,
                    int y)
    • Method Detail

      • getNeighbours4

        public CellSet getNeighbours4()
      • getNeighbours8

        public CellSet getNeighbours8()
      • 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
      • isNextTo

        public boolean isNextTo​(int x2,
                                int y2)
      • toString

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

        public void scale​(int s)