My Project
core
osl
enterKing.h
Go to the documentation of this file.
1
/* enterKing.h
2
*/
3
#ifndef OSl_ENTERKING_H
4
#define OSl_ENTERKING_H
5
6
#include "
osl/numEffectState.h
"
7
8
namespace
osl
9
{
10
namespace
enter_king
11
{
12
struct
EnterKing
13
{
14
static
bool
15
#ifdef __GNUC__
16
__attribute__
((pure))
17
#endif
18
canDeclareWin
(
const
NumEffectState
& state);
19
template
<Player P>
20
static
bool
21
#ifdef __GNUC__
22
__attribute__
((pure))
23
#endif
24
canDeclareWin
(
const
NumEffectState
& state);
25
26
static
bool
canDeclareWin
(
const
NumEffectState
& state,
int
&drops);
27
template
<Player P>
28
static
bool
canDeclareWin
(
const
NumEffectState
& state,
int
&drops);
29
};
30
31
}
// namespace enter_king
32
using
enter_king::EnterKing
;
33
}
// namespace osl
34
35
#endif
/* OSl_ENTERKING_H */
36
// ;;; Local Variables:
37
// ;;; mode:c++
38
// ;;; c-basic-offset:2
39
// ;;; End:
osl::NumEffectState
利きを持つ局面
Definition
numEffectState.h:34
osl
Definition
additionalEffect.h:6
osl::__attribute__
const PtypeO PTYPEO_EDGE __attribute__((unused))
numEffectState.h
osl::enter_king::EnterKing
Definition
enterKing.h:13
osl::enter_king::EnterKing::canDeclareWin
static bool canDeclareWin(const NumEffectState &state)
Definition
enterKing.cc:5
Generated by
1.9.8