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

Public Member Functions | Protected Member Functions | Protected Attributes

Checkers Class Reference

Inheritance diagram for Checkers:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool canCapture1 (int i)
bool canMove1 (int i)
virtual bool checkCapture1 () const =0
virtual bool checkCapture2 () const =0
bool checkMove1 () const
bool checkMove2 () const
bool fromString (const QString &)
virtual bool go1 (int from, int to)=0
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 =0

Protected Member Functions

virtual bool checkCapture1 (int) const =0
bool checkMove1 (int) const
int internal (int) const
virtual bool kingCapture1 (int, int, bool &)=0
virtual bool kingCapture2 (int, int, int &)=0
virtual void kingMove2 (int, int &)=0
virtual bool manCapture1 (int, int, bool &)=0
virtual bool manCapture2 (int, int &)=0
int turn ()
void turn (int &, bool capture=false)

Protected Attributes

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

Detailed Description

Definition at line 45 of file checkers.h.


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

Generated by  Doxygen 1.6.0   Back to index