Index   Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

GoPlayer.cpp

Go to the documentation of this file.
00001 //----------------------------------------------------------------------------
00002 /** @file GoPlayer.cpp
00003     See GoPlayer.h
00004 */
00005 //----------------------------------------------------------------------------
00006 
00007 #include "SgSystem.h"
00008 #include "GoPlayer.h"
00009 
00010 #include <limits>
00011 #include "GoBoard.h"
00012 
00013 using namespace std;
00014 
00015 //----------------------------------------------------------------------------
00016 
00017 GoPlayer::GoPlayer(const GoBoard& bd)
00018     : GoBoardSynchronizer(bd),
00019       m_currentNode(0),
00020       m_bd(bd.Size(), GoSetup(), bd.Rules()),
00021       m_variant(0)
00022 {
00023     SetSubscriber(m_bd);
00024 }
00025 
00026 GoPlayer::~GoPlayer()
00027 {
00028 }
00029 
00030 int GoPlayer::MoveValue(SgPoint p)
00031 {
00032     SG_UNUSED(p);
00033     return numeric_limits<int>::min();
00034 }
00035 
00036 std::string GoPlayer::Name() const
00037 {
00038     return "Unknown";
00039 }
00040 
00041 void GoPlayer::OnGameFinished()
00042 {
00043 }
00044 
00045 void GoPlayer::OnNewGame()
00046 {
00047 }
00048 
00049 void GoPlayer::Ponder()
00050 {
00051 }
00052 
00053 //----------------------------------------------------------------------------
00054 


17 Jun 2010 Doxygen 1.4.7