attackToPinned.cc
Go to the documentation of this file.
00001 #include "osl/move_generator/attackToPinned.h"
00002 #include "osl/move_generator/attackToPinned.tcc"
00003 
00004 template void osl::move_generator::AttackToPinned<osl::BLACK>::generate<osl::move_action::Store>(const NumEffectState&, move_action::Store&);
00005 template void osl::move_generator::AttackToPinned<osl::WHITE>::generate<osl::move_action::Store>(const NumEffectState&, move_action::Store&);
00006 
00007 void 
00008 osl::move_generator::GenerateAttackToPinned::
00009 generate(Player player, const NumEffectState& state,
00010          move_action::Store& store){
00011   assert(state.turn()==player);
00012   if(player==BLACK)
00013     AttackToPinned<BLACK>::generate(state,store);
00014   else
00015     AttackToPinned<WHITE>::generate(state,store);
00016 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines