enterKing.h
Go to the documentation of this file.
00001 /* enterKing.h
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   } // namespace enter_king
00032   using enter_king::EnterKing;
00033 } // namespace osl
00034 
00035 #endif /* OSl_ENTERKING_H */
00036 // ;;; Local Variables:
00037 // ;;; mode:c++
00038 // ;;; c-basic-offset:2
00039 // ;;; End:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines