p2.tictactoe
Class Move

java.lang.Object
  extended by p2.tictactoe.Move

public class Move
extends java.lang.Object

Bundles together information about a change of state in a BoardGame. Sent by AbstractBoardGame to its Observers.

Version:
$Id: Move.java,v 1.1 2005/02/23 22:11:20 oscar Exp $
Author:
$Author: oscar $

Field Summary
 int col
           
 Player player
           
 int row
           
 
Constructor Summary
Move(int col, int row, Player player)
           
 
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

player

public final Player player
Constructor Detail

Move

public Move(int col,
            int row,
            Player player)
Method Detail

toString

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