00001 #include "osl/move_classifier/canAttackInNMoves.h" 00002 #include "canAttackInThreeMovesTable.h" 00003 00004 bool 00005 osl::move_classifier::canAttackInThreeMoves (Player player, 00006 Ptype ptype, 00007 Position myPos, 00008 Position opKingPos) 00009 { 00010 return canAttackInThreeMovesTable 00011 [ptype] 00012 [myPos.positionForBlack(player).index()] 00013 [opKingPos.positionForBlack(player).index()]; 00014 } 00015 // ;;; Local Variables: 00016 // ;;; mode:c++ 00017 // ;;; c-basic-offset:2 00018 // ;;; End: