#include <GoBoardRestorer.h>
Definition at line 14 of file GoBoardRestorer.h.
Public Member Functions | |
GoBoardRestorer (GoBoard &bd) | |
~GoBoardRestorer () | |
Private Types | |
typedef SgSList< GoPlayerMove, GO_MAX_NUM_MOVES > | MoveList |
Private Attributes | |
GoBoard & | m_bd |
int | m_size |
GoRules | m_rules |
MoveList | m_moves |
typedef SgSList<GoPlayerMove,GO_MAX_NUM_MOVES> GoBoardRestorer::MoveList [private] |
Definition at line 22 of file GoBoardRestorer.h.
GoBoardRestorer::GoBoardRestorer | ( | GoBoard & | bd | ) |
Definition at line 16 of file GoBoardRestorer.cpp.
References m_moves, GoBoard::Move(), GoBoard::MoveNumber(), and SgSList< T, SIZE >::PushBack().
GoBoardRestorer::~GoBoardRestorer | ( | ) |
Definition at line 25 of file GoBoardRestorer.cpp.
References GoBoard::Init(), SgSList< GoPlayerMove, GO_MAX_NUM_MOVES >::Iterator, m_bd, m_moves, m_size, GoBoard::Play(), GoBoard::Size(), and GoBoardUtil::UndoAll().
GoBoard& GoBoardRestorer::m_bd [private] |
MoveList GoBoardRestorer::m_moves [private] |
Definition at line 30 of file GoBoardRestorer.h.
Referenced by GoBoardRestorer(), and ~GoBoardRestorer().
GoRules GoBoardRestorer::m_rules [private] |
Definition at line 28 of file GoBoardRestorer.h.
int GoBoardRestorer::m_size [private] |