// $Id: COsMove.htm 119 2004-05-16 00:02:24Z ggs_mburo $ // This is a GGS file, licensed under the GPL COsMove

COsMove

A COsMove contains the move played on the board - whether it is a pass, and if not the square played.

Members

Variables
bool fPassTrue if move is a pass
int row, colRow and col of move; (0,0) is the top-left.
Creation
COsMove()Create a move.
Modification
SetIOS()Sets the move to be the given IOS move (11..88)
I/O
In()Reads from a stream in the GGF format, normally use the >> operator.
Out()Write to a stream in GGF format, normally use the << operator.