指手の数を数えるだけ [詳細]
#include <count.h>
Public メソッド | |
| Count () | |
| void | simpleMove (Position, Position, Ptype, bool, Player, Move) |
| コマをとらないMove | |
| void | unknownMove (Position, Position, Piece, Ptype, bool, Player, Move) |
| コマを取るかもしれないMove | |
| void | dropMove (Position, Ptype, Player, Move) |
| コマを打つMove | |
| void | simpleMove (Position from, Position to, Ptype ptype, bool isPromote, Player p) |
| void | unknownMove (Position from, Position to, Piece captured, Ptype ptype, bool isPromote, Player p) |
| void | dropMove (Position to, Ptype ptype, Player p) |
Public 変数 | |
| int | count |
指手の数を数えるだけ
参照先 dropMove().
| void osl::move_action::Count::simpleMove | ( | Position | from, | |
| Position | to, | |||
| Ptype | ptype, | |||
| bool | isPromote, | |||
| Player | p | |||
| ) | [inline] |
参照先 simpleMove().
| void osl::move_action::Count::unknownMove | ( | Position | from, | |
| Position | to, | |||
| Piece | captured, | |||
| Ptype | ptype, | |||
| bool | isPromote, | |||
| Player | p | |||
| ) | [inline] |
参照先 unknownMove().
| void osl::move_action::Count::unknownMove | ( | Position | , | |
| Position | , | |||
| Piece | , | |||
| Ptype | , | |||
| bool | , | |||
| Player | , | |||
| Move | ||||
| ) | [inline] |
コマを取るかもしれないMove
| from | - 駒の移動元 | |
| to | - 駒の移動先 | |
| p1 | - 移動先のマスの駒 | |
| ptype | - 移動後の駒のptype | |
| isPromote | - 成りか? | |
| p | - プレイヤー |
参照先 count.
参照元 unknownMove().
参照元 dropMove(), simpleMove(), と unknownMove().
1.6.3