mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:57:34 +00:00
Solitaire: Subtract points when undoing a card-flip
Solitaire: Correct default arg definition location
This commit is contained in:
parent
8d8b1d9531
commit
adedb3de2a
2 changed files with 10 additions and 3 deletions
|
@ -155,7 +155,8 @@ private:
|
|||
}
|
||||
|
||||
void mark_intersecting_stacks_dirty(Card& intersecting_card);
|
||||
void score_move(CardStack& from, CardStack& to, bool inverse);
|
||||
void score_move(CardStack& from, CardStack& to, bool inverse = false);
|
||||
void score_flip(bool inverse = false);
|
||||
void remember_move_for_undo(CardStack& from, CardStack& to, NonnullRefPtrVector<Card> moved_cards);
|
||||
void remember_flip_for_undo(Card& card);
|
||||
void update_score(int to_add);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue