All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
osl::search::PassCounter Class Reference

#include <passCounter.h>

Collaboration diagram for osl::search::PassCounter:
Collaboration graph
[legend]

Public Member Functions

 PassCounter ()
 
void inc (Player moving)
 
void dec (Player moving)
 
bool loopByBothPass () const
 

Private Attributes

CArray< int, 2 > counter
 

Detailed Description

Definition at line 10 of file passCounter.h.

Constructor & Destructor Documentation

osl::search::PassCounter::PassCounter ( )
inline

Definition at line 14 of file passCounter.h.

References counter.

Member Function Documentation

void osl::search::PassCounter::dec ( Player  moving)
inline

Definition at line 23 of file passCounter.h.

References counter, and osl::playerToIndex().

void osl::search::PassCounter::inc ( Player  moving)
inline

Definition at line 18 of file passCounter.h.

References counter, and osl::playerToIndex().

bool osl::search::PassCounter::loopByBothPass ( ) const
inline

Definition at line 28 of file passCounter.h.

References counter.

Member Data Documentation

CArray<int,2> osl::search::PassCounter::counter
private

Definition at line 12 of file passCounter.h.

Referenced by dec(), inc(), loopByBothPass(), and PassCounter().


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