/*************************************************************************** * Brutal Chess * http://brutalchess.sf.net * * File : humanplayer.cpp * Authors : Mike Cook, Joe Flint, Neil Pankey **************************************************************************/ #include "boardmove.h" #include "chessplayer.h" #include "SDL.h" #include using namespace std; HumanPlayer::HumanPlayer() { m_is_human = true; m_trustworthy = false; } void HumanPlayer::think(const ChessGameState & cgs) { m_move.invalidate(); while(!m_move.isValid()) { SDL_Delay(50); } } void HumanPlayer::sendMove(const BoardMove & m) { m_move = m; } // End of file humanplayer.cpp