Public Member Functions | |
FlagsData | mover_flags (void) const |
FlagsData | pinning_flags (void) const |
bool | is_horizontal (void) const |
bool | matches (Type const& type) const |
BitBoard | from (Index const& index) const |
Return a BitBoard with all squares in this direction. | |
Public Attributes | |
int8_t const | shift |
int8_t const | offset |
int8_t const | index |
uint8_t const | flags |
Friends | |
Index | operator+ (Index const& index, Direction const& direction) |
Index | operator+ (Direction const& direction, Index const& index) |
Index | operator- (Index const& index, Direction const& direction) |
Index | operator- (Direction const& direction, Index const& index) |
Definition at line 44 of file Direction.h.