Information to undo a move. More...
Public Attributes | |
SgBlackWhite | m_color |
Color of the move. | |
SgPoint | m_point |
Location of the move. | |
bool | m_isFirst |
Old value of m_isFirst[m_point]. | |
bool | m_isNewPosition |
Old value of m_isNewPosition. | |
Block * | m_stoneAddedTo |
Only defined if m_stoneAddedTo != 0 | |
SgPoint | m_oldAnchor |
SgArrayList< SgPoint, 4 > | m_newLibs |
SgArrayList< Block *, 4 > | m_merged |
Only defined if m_type == PLAY | |
SgBlackWhite | m_toPlay |
Old value of m_toPlay. | |
HashCode | m_hash |
Old value of m_hash. | |
SgPoint | m_koPoint |
Old value of m_koPoint. | |
int | m_koLevel |
Old value of m_koLevel. | |
SgEmptyBlackWhite | m_koColor |
Old value of m_koColor. | |
SgEmptyBlackWhite | m_koLoser |
Old value of m_koLoser. | |
bool | m_koModifiesHash |
Old value of m_koModifiesHash. | |
Block * | m_suicide |
SgArrayList< Block *, 4 > | m_killed |
Information to undo a move.
Holds information necessary to undo a play.
Definition at line 625 of file GoBoard.h.
Color of the move.
Definition at line 628 of file GoBoard.h.
Referenced by GoBoard::FullBoardRepetition(), GoBoard::Get2ndLastMove(), GoBoard::GetLastMove(), GoBoard::Move(), GoBoard::Play(), and GoBoard::UpdateBlocksAfterUndo().
Old value of m_hash.
Definition at line 660 of file GoBoard.h.
Referenced by GoBoard::RestoreState(), and GoBoard::SaveState().
Old value of m_isFirst[m_point].
Only defined if m_point is not SG_PASS
Definition at line 635 of file GoBoard.h.
Referenced by GoBoard::FullBoardRepetition(), GoBoard::RestoreState(), and GoBoard::SaveState().
Old value of m_isNewPosition.
Definition at line 638 of file GoBoard.h.
Referenced by GoBoard::RestoreState(), and GoBoard::SaveState().
Definition at line 679 of file GoBoard.h.
Referenced by GoBoard::FullBoardRepetition(), GoBoard::Play(), GoBoard::RemoveLibAndKill(), and GoBoard::UpdateBlocksAfterUndo().
Old value of m_koColor.
Definition at line 669 of file GoBoard.h.
Referenced by GoBoard::RestoreState(), and GoBoard::SaveState().
Old value of m_koLevel.
Definition at line 666 of file GoBoard.h.
Referenced by GoBoard::RestoreState(), and GoBoard::SaveState().
Old value of m_koLoser.
Definition at line 672 of file GoBoard.h.
Referenced by GoBoard::RestoreState(), and GoBoard::SaveState().
Old value of m_koModifiesHash.
Definition at line 675 of file GoBoard.h.
Referenced by GoBoard::RestoreState(), and GoBoard::SaveState().
Old value of m_koPoint.
Definition at line 663 of file GoBoard.h.
Referenced by GoBoard::FullBoardRepetition(), GoBoard::RestoreState(), and GoBoard::SaveState().
Definition at line 649 of file GoBoard.h.
Referenced by GoBoard::UpdateBlocksAfterAddStone(), and GoBoard::UpdateBlocksAfterUndo().
Definition at line 647 of file GoBoard.h.
Referenced by GoBoard::AddStoneToBlock(), and GoBoard::UpdateBlocksAfterUndo().
Definition at line 645 of file GoBoard.h.
Referenced by GoBoard::AddStoneToBlock(), and GoBoard::UpdateBlocksAfterUndo().
Location of the move.
Definition at line 631 of file GoBoard.h.
Referenced by GoBoard::FullBoardRepetition(), GoBoard::Get2ndLastMove(), GoBoard::GetLastMove(), GoBoard::Move(), GoBoard::Play(), GoBoard::RestoreState(), GoBoard::SaveState(), and GoBoard::UpdateBlocksAfterUndo().
Definition at line 640 of file GoBoard.h.
Referenced by GoBoard::UpdateBlocksAfterAddStone(), and GoBoard::UpdateBlocksAfterUndo().
Definition at line 677 of file GoBoard.h.
Referenced by GoBoard::CheckSuicide(), GoBoard::FullBoardRepetition(), GoBoard::Play(), and GoBoard::UpdateBlocksAfterUndo().
Old value of m_toPlay.
Definition at line 657 of file GoBoard.h.
Referenced by GoBoard::FullBoardRepetition(), GoBoard::RestoreState(), and GoBoard::SaveState().