de.flothow.jago.netobj
Class NetworkMove
java.lang.Object
de.flothow.jago.netobj.NetworkMove
- All Implemented Interfaces:
- java.io.Serializable
public class NetworkMove
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
PLAYER_NONE
public static final byte PLAYER_NONE
- See Also:
- Constant Field Values
PLAYER_ONE
public static final byte PLAYER_ONE
- See Also:
- Constant Field Values
PLAYER_TWO
public static final byte PLAYER_TWO
- See Also:
- Constant Field Values
NetworkMove
public NetworkMove(byte col,
byte row,
byte seqNr,
byte nextPlayer)
NetworkMove
public NetworkMove(Move m,
byte nextPlayer)
getNextPlayer
public byte getNextPlayer()
getMove
public Move getMove()
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