enterKingUtil.h Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
enterKingUtil.h
Go to the documentation of this file.
1 /* enterKingUtil.h
2 */
3 #ifndef _ENTER_KING_UTIL_H
4 #define _ENTER_KING_UTIL_H
5 #include "osl/state/numEffectState.h"
6 #include "osl/player.h"
7
8 namespace osl
9 {
10 namespace enter_king
11 {
12 int countEffectInRange(const osl::state::NumEffectState& staet, Player Turn,
13 int x0, int x1, int y0, int y1);
14 int countEffectInFrontOf(const osl::state::NumEffectState& state, Player attack,
15 Square target, Player defense);
16 int countPiecePointsOnStand(const osl::state::NumEffectState& state, Player Turn);
17 template <Player Turn>
18 int countPiecePointsInRange(const osl::state::NumEffectState& state, int& num_pieces,
19 int x0, int x1, int y0, int y1);
20 int countPiecePointsInRange(const osl::state::NumEffectState& state, Player Turn, int& num_pieces,
21 int x0, int x1, int y0, int y1);
22 template <Player Turn>
23 int countPiecePointsOnRow(const osl::state::NumEffectState& state,
24 int& num_pieces, int row);
25 int countPiecePointsOnRow(const osl::state::NumEffectState& state, Player Turn,
26 int& num_pieces, int row);
27 } //namespace enter_king
28 } //namespace osl
29 #endif /* _ENTER_KING_UTIL_H */
30 // ;;; Local Variables:
31 // ;;; mode:c++
32 // ;;; c-basic-offset:2
33 // ;;; End: