class BG::Match::Action Game atomic action.
Each action has a type (what it is), a side (who is doing it), and additional data depending on type.
Public members:
- enum Type
Action type ROLLS | | Dice is rolled. |
MOVES | | Ceckers are moved. |
DOUBLES | | A double |
TAKES | | A take |
DROPS | | A drop |
RESIGNS | | A resignation |
REJECTS | | A rejections
|
WINS | | Game won |
CRAWFORD | | Start of crawford game |
- Action(Type t, Side s)
- Action(std::istream& saved)
Load action from next line in saved file. - bool put(std::ostream& to) const
Save action in to. - bool putSGF(std::ostream& to) const
Save action to to in SGF format. - Type actionType
- Side side
- union
Type specific data