All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Static Public Member Functions | Static Private Member Functions | Static Private Attributes
osl::effect_util::Neighboring8Effect Class Reference

8近傍への利きを判定する. More...

#include <neighboring8Effect.h>

Collaboration diagram for osl::effect_util::Neighboring8Effect:
Collaboration graph
[legend]

List of all members.

Classes

class  Table

Static Public Member Functions

static bool hasEffect (const NumEffectState &state, PtypeO ptypeo, Square from, Square target)
 ptypeo の駒がfromからtargetの8近傍に利きを持つか
static bool hasEffectNaive (const NumEffectState &state, PtypeO ptypeo, Square from, Square target)

Static Private Member Functions

static bool hasEffectFromTo (const NumEffectState &state, PtypeO ptypeo, Square from, Square target, Direction d)

Static Private Attributes

static const Table table

Detailed Description

8近傍への利きを判定する.

間に 1枚までの駒があっても良い.

Definition at line 17 of file neighboring8Effect.h.


Member Function Documentation

static bool osl::effect_util::Neighboring8Effect::hasEffect ( const NumEffectState &  state,
PtypeO  ptypeo,
Square  from,
Square  target 
) [inline, static]

ptypeo の駒がfromからtargetの8近傍に利きを持つか

Definition at line 78 of file neighboring8Effect.h.

References osl::effect_util::Neighboring8Effect::Table::hasEffect(), and table.

bool osl::effect_util::Neighboring8Effect::hasEffectFromTo ( const NumEffectState &  state,
PtypeO  ptypeo,
Square  from,
Square  target,
Direction  d 
) [static, private]
bool osl::effect_util::Neighboring8Effect::hasEffectNaive ( const NumEffectState &  state,
PtypeO  ptypeo,
Square  from,
Square  target 
) [static]

Member Data Documentation

const effect_util::Neighboring8Effect::Table osl::Neighboring8Effect::table [static, private]

Definition at line 73 of file neighboring8Effect.h.

Referenced by hasEffect().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines