指手の数を数えるだけ More...
#include <count.h>
Public Member Functions | |
| Count () | |
| void | simpleMove (Square, Square, Ptype, bool, Player, Move) |
| コマをとらないMove | |
| void | unknownMove (Square, Square, Piece, Ptype, bool, Player, Move) |
| コマを取るかもしれないMove | |
| void | dropMove (Square, Ptype, Player, Move) |
| コマを打つMove | |
| void | simpleMove (Square from, Square to, Ptype ptype, bool isPromote, Player p) |
| void | unknownMove (Square from, Square to, Piece captured, Ptype ptype, bool isPromote, Player p) |
| void | dropMove (Square to, Ptype ptype, Player p) |
Public Attributes | |
| int | count |
| osl::move_action::Count::Count | ( | ) | [inline] |
| void osl::move_action::Count::dropMove | ( | Square | , |
| Ptype | , | ||
| Player | , | ||
| Move | |||
| ) | [inline] |
| void osl::move_action::Count::dropMove | ( | Square | to, |
| Ptype | ptype, | ||
| Player | p | ||
| ) | [inline] |
Definition at line 50 of file count.h.
References dropMove().
| void osl::move_action::Count::simpleMove | ( | Square | from, |
| Square | to, | ||
| Ptype | ptype, | ||
| bool | isPromote, | ||
| Player | p | ||
| ) | [inline] |
Definition at line 40 of file count.h.
References simpleMove().
| void osl::move_action::Count::unknownMove | ( | Square | , |
| Square | , | ||
| Piece | , | ||
| Ptype | , | ||
| bool | , | ||
| Player | , | ||
| Move | |||
| ) | [inline] |
コマを取るかもしれないMove
| from | - 駒の移動元 |
| to | - 駒の移動先 |
| p1 | - 移動先のマスの駒 |
| ptype | - 移動後の駒のptype |
| isPromote | - 成りか? |
| p | - プレイヤー |
Definition at line 32 of file count.h.
References count.
Referenced by unknownMove().
| void osl::move_action::Count::unknownMove | ( | Square | from, |
| Square | to, | ||
| Piece | captured, | ||
| Ptype | ptype, | ||
| bool | isPromote, | ||
| Player | p | ||
| ) | [inline] |
Definition at line 45 of file count.h.
References unknownMove().
Definition at line 15 of file count.h.
Referenced by dropMove(), simpleMove(), and unknownMove().
1.7.6.1