osl::eval::ml::PawnAdvanceUtil Struct Reference

- Main Page
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Static Public Member Functions | List of all members
osl::eval::ml::PawnAdvanceUtil Struct Reference

`#include <minorPiece.h>`

Inheritance diagram for osl::eval::ml::PawnAdvanceUtil:
[legend]

## Static Public Member Functions
static int | index (Player P, Square pos)
static bool | cantAdvance (const NumEffectState &state, const Piece pawn)
static bool | cantAdvance (const NumEffectState &state, const PtypeO ptypeO, const Square position)

## Detailed Description

Definition at line 502 of file minorPiece.h.

## Member Function Documentation

static bool osl::eval::ml::PawnAdvanceUtil::cantAdvance | ( | const NumEffectState & | state,
|  | const Piece | pawn
| ) |  |
| inlinestatic

Definition at line 508 of file minorPiece.h.

References osl::Piece::ptypeO(), and osl::Piece::square().

static bool osl::eval::ml::PawnAdvanceUtil::cantAdvance | ( | const NumEffectState & | state,
|  | const PtypeO | ptypeO,
|  | const Square | position
| ) |  |
| inlinestatic

Definition at line 512 of file minorPiece.h.

References osl::Board_Table, osl::getOwner(), osl::getPtype(), osl::BoardTable::nextSquare(), osl::PAWN, and osl::U.

static int osl::eval::ml::PawnAdvanceUtil::index | ( | Player | P,
|  | Square | pos
| ) |  |
| inlinestatic

Definition at line 504 of file minorPiece.h.

References osl::BLACK, and osl::Square::y().

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

- minorPiece.h