Changeset View
Changeset View
Standalone View
Standalone View
gamestate.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | |||||
50 | { | 50 | { | ||
51 | public: | 51 | public: | ||
52 | KCardPile * pile; | 52 | KCardPile * pile; | ||
53 | int index; | 53 | int index; | ||
54 | bool faceUp; | 54 | bool faceUp; | ||
55 | bool takenDown; | 55 | bool takenDown; | ||
56 | 56 | | |||
57 | CardState() | 57 | CardState() | ||
58 | : pile( 0 ), | 58 | : pile( nullptr ), | ||
59 | index( -1 ), | 59 | index( -1 ), | ||
60 | faceUp( false ), | 60 | faceUp( false ), | ||
61 | takenDown( false ) | 61 | takenDown( false ) | ||
62 | { | 62 | { | ||
63 | } | 63 | } | ||
64 | 64 | | |||
65 | CardState( KCardPile * pile, int index, bool faceUp, bool takenDown ) | 65 | CardState( KCardPile * pile, int index, bool faceUp, bool takenDown ) | ||
66 | : pile( pile ), | 66 | : pile( pile ), | ||
▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines |