Logo Search packages:      
Sourcecode: kcheckers version File versions  Download package

Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions

ECheckers Class Reference

Inheritance diagram for ECheckers:
Inheritance graph
[legend]
Collaboration diagram for ECheckers:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool canCapture1 (int i)
bool canMove1 (int i)
virtual bool checkCapture1 () const
virtual bool checkCapture2 () const
bool checkMove1 () const
bool checkMove2 () const
bool fromString (const QString &)
virtual bool go1 (int, int)
void go2 ()
int item (int i) const
void setItem (int i, int item)
void setSkill (int i)
bool setup (int setupboard[])
int skill () const
QString toString (bool rotate) const
virtual int type () const

Protected Member Functions

virtual bool checkCapture1 (int) const
bool checkMove1 (int) const
int internal (int) const
int turn ()
void turn (int &, bool capture=false)

Protected Attributes

int bestboard [54]
int bestcounter
int board [54]
int level
int levelmax
int to

Private Member Functions

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

Detailed Description

Definition at line 30 of file echeckers.h.


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

Generated by  Doxygen 1.6.0   Back to index