![]() |
Conquer Chess
Chess and Starcraft combined
|
An action to be done by a piece. More...
#include <piece_action.h>
Public Member Functions | |
| piece_action (const chess_color color, const piece_type pt, const piece_action_type at, const square &from, const square &to) | |
| Move of move from a square to another. | |
| piece_action (const chess_color color, const piece_type pt, const piece_action_type at, const std::string &from_str, const std::string &to_str) | |
| Move of move from a square to another. | |
| auto | get_action_type () const noexcept |
| const auto & | get_from () const noexcept |
| auto | get_piece_type () const noexcept |
| auto | get_color () const noexcept |
| const auto & | get_to () const noexcept |
An action to be done by a piece.
Examples:
|
explicit |
Move of move from a square to another.
|
explicit |
Move of move from a square to another.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |