Class Turn.Coordinate

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Turn

    public static class Turn.Coordinate
    extends java.lang.Object
    implements java.io.Serializable
    coordinate on the game board
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int column  
      int row  
    • Constructor Summary

      Constructors 
      Constructor Description
      Coordinate​(int row, int column)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • row

        @SerializedName("row")
        public final int row
      • column

        @SerializedName("column")
        public final int column
    • Constructor Detail

      • Coordinate

        public Coordinate​(int row,
                          int column)
    • Method Detail

      • toString

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

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