All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
osl::effect_util::Neighboring8Direct::Table Class Reference
Collaboration diagram for osl::effect_util::Neighboring8Direct::Table:
Collaboration graph
[legend]

Classes

struct  Entry
 

Public Member Functions

 Table ()
 
bool hasEffect (const NumEffectState &state, PtypeO ptypeo, Square from, Square target) const
 
bool hasEffectOrAdditional (const NumEffectState &state, PtypeO ptypeo, Square from, Square target) const
 
Square findNearest (const NumEffectState &state, PtypeO ptypeo, Square from, Square target) const
 

Private Member Functions

void init (Player)
 

Private Attributes

CArray2d< Entry, PTYPEO_SIZE,
Offset32::SIZE
table
 

Detailed Description

Definition at line 18 of file neighboring8Direct.h.

Constructor & Destructor Documentation

osl::effect_util::Neighboring8Direct::Table::Table ( )

Definition at line 6 of file neighboring8Direct.cc.

References osl::BLACK, and osl::WHITE.

Member Function Documentation

Square osl::effect_util::Neighboring8Direct::Table::findNearest ( const NumEffectState &  state,
PtypeO  ptypeo,
Square  from,
Square  target 
) const
inline
bool osl::effect_util::Neighboring8Direct::Table::hasEffect ( const NumEffectState &  state,
PtypeO  ptypeo,
Square  from,
Square  target 
) const
inline
bool osl::effect_util::Neighboring8Direct::Table::hasEffectOrAdditional ( const NumEffectState &  state,
PtypeO  ptypeo,
Square  from,
Square  target 
) const
inline
void osl::effect_util::Neighboring8Direct::Table::init ( Player  player)
private

Member Data Documentation

CArray2d<Entry,PTYPEO_SIZE,Offset32::SIZE> osl::effect_util::Neighboring8Direct::Table::table
private

Definition at line 28 of file neighboring8Direct.h.

Referenced by findNearest(), hasEffect(), and hasEffectOrAdditional().


The documentation for this class was generated from the following files: