#include <ptypeTraits.h>
Static Public Member Functions | |
static const char * | name () |
static const char * | csaName () |
Static Public Attributes | |
static const bool | isBasic = true |
static const bool | canPromote = true |
static const bool | betterToPromote = true |
static const Ptype | moveType = PAWN |
static const Ptype | basicType = PAWN |
static const int | indexMin = 0 |
static const int | indexLimit = 18 |
static const int | dropBlackFromY = 2 |
static const int | dropBlackToY = 9 |
static const int | mayPromoteToY = 4 |
static const int | moveMask = DirectionTraits<U>::mask |
Definition at line 61 of file ptypeTraits.h.
Definition at line 69 of file ptypeTraits.h.
Definition at line 68 of file ptypeTraits.h.
Definition at line 67 of file ptypeTraits.h.
const bool osl::PtypeTraits< PAWN >::betterToPromote = true [static] |
Definition at line 65 of file ptypeTraits.h.
const bool osl::PtypeTraits< PAWN >::canPromote = true [static] |
Definition at line 64 of file ptypeTraits.h.
const int osl::PtypeTraits< PAWN >::dropBlackFromY = 2 [static] |
Definition at line 72 of file ptypeTraits.h.
const int osl::PtypeTraits< PAWN >::dropBlackToY = 9 [static] |
Definition at line 73 of file ptypeTraits.h.
const int osl::PtypeTraits< PAWN >::indexLimit = 18 [static] |
Definition at line 71 of file ptypeTraits.h.
Referenced by osl::state::NumEffectState::doCaptureMove(), and osl::state::NumEffectState::doSimpleMove().
Definition at line 63 of file ptypeTraits.h.
const int osl::PtypeTraits< PAWN >::mayPromoteToY = 4 [static] |
Definition at line 74 of file ptypeTraits.h.
const int osl::PtypeTraits< PAWN >::moveMask = DirectionTraits<U>::mask [static] |
Definition at line 75 of file ptypeTraits.h.
Definition at line 66 of file ptypeTraits.h.