Class Turn.Move

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

    public static class Turn.Move
    extends java.lang.Object
    implements java.io.Serializable
    one movement of an amazone
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Move​(int startRow, int startColumn, int endRow, int endColumn)  
    • 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
    • Constructor Detail

      • Move

        public Move​(int startRow,
                    int startColumn,
                    int endRow,
                    int endColumn)
    • 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