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:
parent
a01c4c50d1
commit
c5b7ad6004
3 changed files with 71 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue