mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 08:27:46 +00:00
Solitaire: Add keys for drawing and moving cards to foundation stacks
Also shifts logic of starting game length timer into function `start_timer_if_necessary`, so it can be called from original mouse event handler and new `auto_move_eligible_cards_to_stacks`
This commit is contained in:
parent
e7cfa9bf8e
commit
ecaae2d10f
2 changed files with 139 additions and 72 deletions
|
@ -160,6 +160,10 @@ private:
|
|||
void remember_flip_for_undo(Card& card);
|
||||
void update_score(int to_add);
|
||||
void move_card(CardStack& from, CardStack& to);
|
||||
void draw_cards();
|
||||
void pop_waste_to_play_stack();
|
||||
void auto_move_eligible_cards_to_stacks();
|
||||
void start_timer_if_necessary();
|
||||
void start_game_over_animation();
|
||||
void stop_game_over_animation();
|
||||
void create_new_animation_card();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue