Diffstat (limited to 'noncore/games/oyatzee/oyatzee.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/oyatzee/oyatzee.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/games/oyatzee/oyatzee.h b/noncore/games/oyatzee/oyatzee.h index dd996ee..1074f1d 100644 --- a/noncore/games/oyatzee/oyatzee.h +++ b/noncore/games/oyatzee/oyatzee.h | |||
@@ -104,15 +104,12 @@ class DiceWidget : public QWidget | |||
104 | 104 | ||
105 | class Board : public QWidget | 105 | class Board : public QWidget |
106 | { | 106 | { |
107 | Q_OBJECT | 107 | Q_OBJECT |
108 | public: | 108 | public: |
109 | Board( QWidget *parent = 0, const char* name = 0 ); | 109 | Board( QWidget *parent = 0, const char* name = 0 ); |
110 | |||
111 | protected: | ||
112 | virtual void paintEvent( QPaintEvent *e ); | ||
113 | }; | 110 | }; |
114 | 111 | ||
115 | class Possibilityboard : public Board | 112 | class Possibilityboard : public Board |
116 | { | 113 | { |
117 | Q_OBJECT | 114 | Q_OBJECT |
118 | 115 | ||
@@ -163,10 +160,15 @@ class Player | |||
163 | }; | 160 | }; |
164 | 161 | ||
165 | class Game | 162 | class Game |
166 | { | 163 | { |
167 | public: | 164 | public: |
168 | Game( playerList pla ); | 165 | Game( playerList pla ); |
166 | |||
169 | playerList players; | 167 | playerList players; |
168 | int currentPlayer; | ||
169 | |||
170 | void startGame(); | ||
171 | void stopGame(); | ||
170 | }; | 172 | }; |
171 | 173 | ||
172 | #endif // WORDGAME_H | 174 | #endif // WORDGAME_H |