00001
00002
00003 #ifndef _NULLCOST_H
00004 #define _NULLCOST_H
00005
00006 #include "osl/player.h"
00007 namespace osl
00008 {
00009 namespace checkmate
00010 {
00011 struct CheckMove;
00013 struct NullCost
00014 {
00016 template <class State>
00017 static void setAttackCost(Player, const State&, CheckMove&)
00018 {
00019 }
00021 template <class State>
00022 static void setDefenseCost(Player, const State&, CheckMove&)
00023 {
00024 }
00025 };
00026 }
00027 }
00028
00029
00030 #endif
00031
00032
00033
00034