Go to the documentation of this file.00001
00002
00003 #ifndef OSl_ENTERKING_H
00004 #define OSl_ENTERKING_H
00005
00006 #include "osl/state/numEffectState.h"
00007
00008 namespace osl
00009 {
00010 namespace enter_king
00011 {
00012 struct EnterKing
00013 {
00014 static bool
00015 #ifdef __GNUC__
00016 __attribute__ ((pure))
00017 #endif
00018 canDeclareWin(const NumEffectState& state);
00019 template <Player P>
00020 static bool
00021 #ifdef __GNUC__
00022 __attribute__ ((pure))
00023 #endif
00024 canDeclareWin(const NumEffectState& state);
00025
00026 static bool canDeclareWin(const NumEffectState& state, int &drops);
00027 template <Player P>
00028 static bool canDeclareWin(const NumEffectState& state, int &drops);
00029 };
00030
00031 }
00032 using enter_king::EnterKing;
00033 }
00034
00035 #endif
00036
00037
00038
00039