Enumerations GoMotive and GoModifier. More...
#include <bitset>
#include <iosfwd>
Go to the source code of this file.
Typedefs | |
typedef std::bitset < _GO_NU_MOTIVE > | GoMotives |
Enumerations | |
enum | GoMotive { GO_MOT_NONE, GO_MOT_RANDOM, GO_MOT_CAPTURE, GO_MOT_ESCAPE, GO_MOT_CONNECT, GO_MOT_CUT, GO_MOT_TO_DIVIDE, GO_MOT_URGENT, GO_MOT_EXPAND, GO_MOT_STABILIZE, GO_MOT_REDUCE, GO_MOT_DEFEND, GO_MOT_INVADE, GO_MOT_SENTE, GO_MOT_FORCED, GO_MOT_ONEYE, GO_MOT_TWOEYE, GO_MOT_YOSE, GO_MOT_ATTACK, GO_MOT_SAVE, GO_MOT_DOUBLEATARI, GO_MOT_ATARI, GO_MOT_KOTHREAT, _GO_NU_MOTIVE } |
Move motives. More... | |
enum | GoModifier { GO_MOD_NORMAL, GO_MOD_VERY_BIG, GO_MOD_BIG, GO_MOD_SMALL, GO_MOD_VERY_SMALL, _GO_NU_MODIFIER } |
Move motive modifier. More... | |
Functions | |
std::ostream & | operator<< (std::ostream &out, GoMotive motive) |
std::ostream & | operator<< (std::ostream &out, GoModifier modifier) |
Enumerations GoMotive and GoModifier.
Definition in file GoMotive.h.
typedef std::bitset<_GO_NU_MOTIVE> GoMotives |
Definition at line 91 of file GoMotive.h.
enum GoModifier |
Move motive modifier.
Definition at line 98 of file GoMotive.h.
enum GoMotive |
Move motives.
These motives were originally used in the Explorer Go program.
Definition at line 16 of file GoMotive.h.
std::ostream& operator<< | ( | std::ostream & | out, | |
GoMotive | motive | |||
) |
Definition at line 15 of file GoMotive.cpp.
std::ostream& operator<< | ( | std::ostream & | out, | |
GoModifier | modifier | |||
) |
Definition at line 50 of file GoMotive.cpp.