mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 23:17:45 +00:00
![]() Repeatedly allocation a new Card object is unnecessary, and makes propagating OOM awkward. We also don't need a full card, just which suit/rank it is and its position. So, let's save all the extra allocation and just paint the card bitmap directly. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Game.cpp | ||
Game.h | ||
main.cpp | ||
Solitaire.gml |