Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
osl
effect_util
neighboring25Direct.h
Go to the documentation of this file.
1
/* neighboring25Direct.h
2
*/
3
#ifndef EFFECT_UTIL_NEIGHBORING25DIRECT_H
4
#define EFFECT_UTIL_NEIGHBORING25DIRECT_H
5
6
#include "
osl/state/simpleState.h
"
7
#include "
osl/state/numEffectState.h
"
8
9
namespace
osl
10
{
11
namespace
effect_util
12
{
13
class
Neighboring25Direct
14
{
15
private
:
16
static
bool
hasEffectFromTo
(
const
NumEffectState& state,
17
PtypeO
ptypeo,
Square
from,
18
Square
target
,
Offset
offset);
19
public
:
20
static
bool
hasEffectNaive
(
const
NumEffectState& state,
21
PtypeO
ptypeo,
Square
from,
22
Square
target);
23
static
bool
hasEffect
(
const
NumEffectState& state,
24
PtypeO
ptypeo,
Square
from,
25
Square
target)
26
{
27
return
hasEffectNaive
(state, ptypeo, from, target);
28
}
29
30
};
31
}
// namespace effect_util
32
using
effect_util::Neighboring25Direct;
33
}
// namespace osl
34
35
#endif
/* _NEIGHBORING25_H */
36
// ;;; Local Variables:
37
// ;;; mode:c++
38
// ;;; c-basic-offset:2
39
// ;;; End:
Generated on Sun Jul 21 2013 13:37:25 by
1.8.4