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
6 #include "osl/player.h"
7 
8 namespace osl
9 {
10  namespace enter_king
11  {
13  int x0, int x1, int y0, int y1);
14  int countEffectInFrontOf(const osl::state::NumEffectState& state, Player attack,
15  Square target, Player defense);
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>
24  int& num_pieces, int row);
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: