Class MoveRecord
java.lang.Object
castle.comp3021.assignment.protocol.MoveRecord
- All Implemented Interfaces:
java.lang.Cloneable
public class MoveRecord
extends java.lang.Object
implements java.lang.Cloneable
-
Field Summary
-
Constructor Summary
Constructors Constructor Description MoveRecord(@NotNull Player player, @NotNull Move move)
-
Method Summary
-
Field Details
-
Constructor Details
-
Method Details
-
getPlayer
-
getMove
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
clone
- Overrides:
clone
in classjava.lang.Object
- Throws:
java.lang.CloneNotSupportedException
-