00001 //---------------------------------------------------------------------------- 00002 /** @file GoPlayerMove.cpp */ 00003 //---------------------------------------------------------------------------- 00004 00005 #include "SgSystem.h" 00006 #include "GoPlayerMove.h" 00007 00008 #include <iostream> 00009 00010 //---------------------------------------------------------------------------- 00011 00012 std::ostream& operator<<(std::ostream& out, GoPlayerMove mv) 00013 { 00014 out << (mv.Color() == SG_BLACK ? "B " : "W ") << SgWritePoint(mv.Point()); 00015 return out; 00016 } 00017 00018 //----------------------------------------------------------------------------