All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
canAttackInNMoves.cc
Go to the documentation of this file.
3 
4 bool
6  Ptype ptype,
7  Square myPos,
8  Square opKingPos)
9 {
11  [ptype]
12  [myPos.squareForBlack(player).index()]
13  [opKingPos.squareForBlack(player).index()];
14 }
15 // ;;; Local Variables:
16 // ;;; mode:c++
17 // ;;; c-basic-offset:2
18 // ;;; End: