#include <GoBook.h>
Public Member Functions | |
void | ApplyTo (GoBoard &bd) const |
Setup entry on a board. | |
Public Attributes | |
int | m_size |
Board size. | |
int | m_line |
Line number in the original file. | |
std::vector< SgPoint > | m_sequence |
std::vector< SgPoint > | m_moves |
Definition at line 42 of file GoBook.h.
void GoBook::Entry::ApplyTo | ( | GoBoard & | bd | ) | const |
Setup entry on a board.
Definition at line 66 of file GoBook.cpp.
References GoBoard::Init(), GoBoard::IsLegal(), m_sequence, m_size, GoBoard::Play(), SG_ASSERT, GoBoard::Size(), and GoBoardUtil::UndoAll().
Line number in the original file.
Definition at line 49 of file GoBook.h.
Referenced by GoBook::InsertEntry().
std::vector<SgPoint> GoBook::Entry::m_moves |
Definition at line 53 of file GoBook.h.
Referenced by GoBook::InsertEntry().
std::vector<SgPoint> GoBook::Entry::m_sequence |
Definition at line 51 of file GoBook.h.
Referenced by ApplyTo(), and GoBook::InsertEntry().
Board size.
Definition at line 46 of file GoBook.h.
Referenced by ApplyTo(), and GoBook::InsertEntry().