My Project
osl::PtypeDirectionTraits< T, D > Struct Template Reference

#include <ptypeTraits.h>

Static Public Attributes

static const bool hasMove =(PtypeTraits<T>::moveMask & DirectionTraits<D>::mask)!=0
static const bool canMove
static const MoveConstraint moveConstraint

Detailed Description

template<Ptype T, Direction D>
struct osl::PtypeDirectionTraits< T, D >

Definition at line 339 of file ptypeTraits.h.

Member Data Documentation

◆ canMove

◆ hasMove

template<Ptype T, Direction D>
const bool osl::PtypeDirectionTraits< T, D >::hasMove =(PtypeTraits<T>::moveMask & DirectionTraits<D>::mask)!=0
static

Definition at line 341 of file ptypeTraits.h.

◆ moveConstraint

template<Ptype T, Direction D>
const MoveConstraint osl::PtypeDirectionTraits< T, D >::moveConstraint
static
Initial value:
=
@ NoConstraint
promoteしていようが,いまいが可能
@ OnlyBasic
promoteしていない駒の場合にのみ可能
@ OnlyPromoted
promote済みの駒の場合にのみ可能
@ CannotMove
可能でない
static const bool canMove

Definition at line 346 of file ptypeTraits.h.


The documentation for this struct was generated from the following file: