mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 03:12:07 -05:00
98603e2b20
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 |