Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ECheckers Class Reference

#include </home/clem/local/src/opie/noncore/games/kcheckers/echeckers.h>

Inheritance diagram for ECheckers:

Inheritance graph
[legend]
Collaboration diagram for ECheckers:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ECheckers (int skill)
bool go1 (int, int)
bool checkCapture1 ()
bool checkCapture2 ()

Private Member Functions

void kingMove2 (int, int &)
bool manCapture1 (int, int, bool &)
bool kingCapture1 (int, int, bool &)
bool manCapture2 (int, int &)
bool kingCapture2 (int, int, int &)

Constructor & Destructor Documentation

ECheckers::ECheckers int  skill  )  [inline]
 

Definition at line 11 of file echeckers.h.


Member Function Documentation

bool ECheckers::checkCapture1  )  [virtual]
 

Implements Checkers.

Definition at line 64 of file echeckers.cpp.

References Checkers::board, FREE, i, KING1, KING2, MAN1, and MAN2.

Referenced by go1().

bool ECheckers::checkCapture2  )  [virtual]
 

Implements Checkers.

Definition at line 216 of file echeckers.cpp.

References Checkers::board, FREE, i, KING1, KING2, MAN1, and MAN2.

bool ECheckers::go1 int  ,
int 
[virtual]
 

Implements Checkers.

Definition at line 15 of file echeckers.cpp.

References Checkers::board, checkCapture1(), DL, DR, FREE, KING1, kingCapture1(), MAN1, manCapture1(), Checkers::to, UL, and UR.

bool ECheckers::kingCapture1 int  ,
int  ,
bool & 
[private, virtual]
 

Implements Checkers.

Definition at line 131 of file echeckers.cpp.

References Checkers::board, DL, DR, FREE, i, KING1, KING2, MAN2, NONE, save(), Checkers::to, UL, and UR.

Referenced by go1(), and manCapture1().

bool ECheckers::kingCapture2 int  ,
int  ,
int & 
[private, virtual]
 

Implements Checkers.

Definition at line 311 of file echeckers.cpp.

References Checkers::board, DL, DR, FREE, i, KING1, KING2, MAN1, NONE, save(), Checkers::turn(), UL, and UR.

Referenced by manCapture2().

void ECheckers::kingMove2 int  ,
int & 
[private, virtual]
 

Implements Checkers.

Definition at line 176 of file echeckers.cpp.

References Checkers::board, FREE, i, KING2, and Checkers::turn().

bool ECheckers::manCapture1 int  ,
int  ,
bool & 
[private, virtual]
 

Implements Checkers.

Definition at line 94 of file echeckers.cpp.

References Checkers::board, FREE, i, KING1, KING2, kingCapture1(), MAN1, MAN2, NONE, save(), Checkers::to, UL, and UR.

Referenced by go1().

bool ECheckers::manCapture2 int  ,
int & 
[private, virtual]
 

Implements Checkers.

Definition at line 246 of file echeckers.cpp.

References Checkers::board, FREE, i, KING1, KING2, kingCapture2(), MAN1, MAN2, NONE, save(), Checkers::turn(), UL, and UR.


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:31:46 2005 for OPIE by  doxygen 1.4.2