author | leseb <leseb> | 2002-06-11 16:25:06 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-06-11 16:25:06 (UTC) |
commit | 2cfbb2adc058b59140a14ba6bbfc057266fea0b8 (patch) (unidiff) | |
tree | 2dc8756a9d691cdfb46b537955453f46171ceeff /noncore/games/kcheckers/checkers.h | |
parent | d709dd35dc07d4a204380354f00a89ceb4d1f845 (diff) | |
download | opie-2cfbb2adc058b59140a14ba6bbfc057266fea0b8.zip opie-2cfbb2adc058b59140a14ba6bbfc057266fea0b8.tar.gz opie-2cfbb2adc058b59140a14ba6bbfc057266fea0b8.tar.bz2 |
Version 0.3 port
Diffstat (limited to 'noncore/games/kcheckers/checkers.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/kcheckers/checkers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/games/kcheckers/checkers.h b/noncore/games/kcheckers/checkers.h index bd2be08..2592fb1 100644 --- a/noncore/games/kcheckers/checkers.h +++ b/noncore/games/kcheckers/checkers.h | |||
@@ -28,9 +28,10 @@ class Checkers | |||
28 | virtual bool checkCapture1()=0; | 28 | virtual bool checkCapture1()=0; |
29 | virtual bool checkCapture2()=0; | 29 | virtual bool checkCapture2()=0; |
30 | 30 | ||
31 | void setLevel(int i) {levelmax=i;}; | 31 | void setLevel(int i) {levelmax=i;}; |
32 | int getBoard(int i) {return board[i];}; | 32 | |
33 | int board[54]; | ||
33 | 34 | ||
34 | protected: | 35 | protected: |
35 | int level; // Current level | 36 | int level; // Current level |
36 | int levelmax; // Maximum level | 37 | int levelmax; // Maximum level |
@@ -38,9 +39,8 @@ class Checkers | |||
38 | int turn(); | 39 | int turn(); |
39 | void turn(int &,bool capture=false); | 40 | void turn(int &,bool capture=false); |
40 | 41 | ||
41 | int to; | 42 | int to; |
42 | int board[54]; | ||
43 | int bestboard[54]; | 43 | int bestboard[54]; |
44 | int bestcounter; | 44 | int bestcounter; |
45 | 45 | ||
46 | virtual void kingMove2(int,int &)=0; | 46 | virtual void kingMove2(int,int &)=0; |