server
Class Move

java.lang.Object
  |
  +--server.Move

public class Move
extends java.lang.Object
implements java.io.Serializable

Bundles together information about a change of state in a BoardGame. Sent by AbstractBoardGame to its Observers. This is the only class of object that is sent between the client and the server.

Version:
3.0 1999-04-03
Author:
Oscar.Nierstrasz@acm.org
See Also:
AbstractBoardGame.set(int, int, tictactoe.Player), Container.update(java.awt.Graphics), Serialized Form

Field Summary
 int col
           
 char mark
           
 int row
           
 
Constructor Summary
Move(int col, int row, char mark)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

col

public final int col

row

public final int row

mark

public final char mark
Constructor Detail

Move

public Move(int col,
            int row,
            char mark)
Method Detail

toString

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