#include <GoPlayerMove.h>
Definition at line 15 of file GoPlayerMove.h.
Public Member Functions | |
GoPlayerMove (SgBlackWhite color, SgPoint point=SG_NULLMOVE) | |
GoPlayerMove () | |
~GoPlayerMove () | |
bool | operator== (const GoPlayerMove &move) const |
bool | operator!= (const GoPlayerMove &move) const |
SgPoint | Point () const |
SgBlackWhite | Color () const |
void | SetPoint (SgPoint move) |
Private Attributes | |
SgBlackWhite | m_color |
SgPoint | m_point |
GoPlayerMove::GoPlayerMove | ( | SgBlackWhite | color, | |
SgPoint | point = SG_NULLMOVE | |||
) |
GoPlayerMove::GoPlayerMove | ( | ) |
Definition at line 40 of file GoPlayerMove.h.
GoPlayerMove::~GoPlayerMove | ( | ) |
Definition at line 53 of file GoPlayerMove.h.
SgBlackWhite GoPlayerMove::Color | ( | ) | const |
Definition at line 77 of file GoPlayerMove.h.
References m_color.
Referenced by GoRegionBoard::OnExecutedMove(), operator<<(), GoBoard::Play(), and GoGame::PlayComputerMove().
bool GoPlayerMove::operator!= | ( | const GoPlayerMove & | move | ) | const |
bool GoPlayerMove::operator== | ( | const GoPlayerMove & | move | ) | const |
Definition at line 57 of file GoPlayerMove.h.
References m_color, and m_point.
Referenced by operator!=().
SgPoint GoPlayerMove::Point | ( | ) | const |
Definition at line 67 of file GoPlayerMove.h.
References m_point.
Referenced by GoRegionBoard::OnExecutedMove(), operator<<(), GoBoard::Play(), and GoGame::PlayComputerMove().
void GoPlayerMove::SetPoint | ( | SgPoint | move | ) |
SgBlackWhite GoPlayerMove::m_color [private] |
SgPoint GoPlayerMove::m_point [private] |