1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 05:37:44 +00:00

LibCards: Add a CardGame base class

For now, the only feature of this is that it sets the background colour
from the `Games::Cards::BackgroundColor` config value. Later, other
card game configuration and shared behaviour can go here, to save
duplicating it in each game.
This commit is contained in:
Sam Atkins 2022-08-20 14:09:46 +01:00 committed by Andreas Kling
parent a01c4c50d1
commit c5b7ad6004
3 changed files with 71 additions and 1 deletions

View file

@ -1,7 +1,8 @@
set(SOURCES
Card.cpp
CardGame.cpp
CardStack.cpp
)
serenity_lib(LibCards cards)
target_link_libraries(LibCards LibC LibCore)
target_link_libraries(LibCards LibC LibCore LibConfig LibGUI)