mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-23 17:06:35 +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.