ItsDrike
f82b176f55
Add several debug logs to gamestate
2024-12-03 15:14:27 +01:00
ItsDrike
883d766dc3
Register QObject classes as QML elements via macros
...
Using manual registration with qmlRegisterType (or
qmlRegisterUncreatableType) isn't ideal, because Qt Creator can't pick
up on it. When using the macros, autocompletion & unknown type warnings
in the code disappear.
2024-12-03 15:05:30 +01:00
ItsDrike
b558a3396e
Fix signal naming
2024-12-03 00:33:22 +01:00
ItsDrike
0b65ce5d56
Add basic GameState class
2024-12-01 22:40:42 +01:00
ItsDrike
6ad3fe5bba
Make isFaceDown visual property only (pure QML)
2024-12-01 22:36:01 +01:00
ItsDrike
868699979d
Improve PlayingCard class
...
- Move to using enums to represent the suit & value
- This changes the badly named color to more appropriate suit.
- Add createDeck static method
2024-12-01 21:17:45 +01:00
ItsDrike
e3242b71e9
Manage playing cards from C++ only
2024-12-01 19:43:49 +01:00