#include <passCounter.h>
Public Member Functions | |
PassCounter () | |
void | inc (Player moving) |
void | dec (Player moving) |
bool | loopByBothPass () const |
Private Attributes | |
CArray< int, 2 > | counter |
Definition at line 10 of file passCounter.h.
osl::search::PassCounter::PassCounter | ( | ) | [inline] |
Definition at line 14 of file passCounter.h.
References counter.
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.
CArray<int,2> osl::search::PassCounter::counter [private] |
Definition at line 12 of file passCounter.h.
Referenced by dec(), inc(), loopByBothPass(), and PassCounter().