Diffstat (limited to 'noncore/games/oyatzee/oyatzee.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/oyatzee/oyatzee.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/noncore/games/oyatzee/oyatzee.h b/noncore/games/oyatzee/oyatzee.h index 01ab36d..65a18fc 100644 --- a/noncore/games/oyatzee/oyatzee.h +++ b/noncore/games/oyatzee/oyatzee.h | |||
@@ -16,2 +16,3 @@ class DiceWidget; | |||
16 | typedef QList<Dice> dicesList; | 16 | typedef QList<Dice> dicesList; |
17 | typedef QValueList<int> QValueListInt; | ||
17 | 18 | ||
@@ -27,2 +28,3 @@ class OYatzee : public QMainWindow { | |||
27 | 28 | ||
29 | QValueListInt posibilities; | ||
28 | 30 | ||
@@ -31,2 +33,17 @@ class OYatzee : public QMainWindow { | |||
31 | 33 | ||
34 | enum { | ||
35 | Ones=1, | ||
36 | Twos = 2, | ||
37 | Threes = 3, | ||
38 | Fours = 4, | ||
39 | Fives = 5, | ||
40 | Sixes = 6, | ||
41 | ThreeOfAKind = 7, //12444 | ||
42 | FourOfAKind = 8, //14444 | ||
43 | FullHouse = 9, //22555 | ||
44 | SStraight = 10, //13456 | ||
45 | LStraight = 11, //12345 | ||
46 | Yatzee = 12, //55555 | ||
47 | Chance = 13}; | ||
48 | |||
32 | public slots: | 49 | public slots: |
@@ -40,2 +57,4 @@ class OYatzee : public QMainWindow { | |||
40 | void detectPosibilities(); | 57 | void detectPosibilities(); |
58 | void displayPossibilites(); | ||
59 | |||
41 | }; | 60 | }; |