mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-21 00:38:56 +00:00
LibCards+Solitaire: Rename CardStack::move_to_stack()
-> take_all()
`a.move_to_stack(b)` sounded too much like it moves a's cards to b, when it actually moves b's cards to a.
This commit is contained in:
parent
3423b54eb9
commit
83687f85df
Notes:
sideshowbarker
2024-07-17 01:22:47 +09:00
Author: https://github.com/AtkinsSJ
Commit: 83687f85df
Pull-request: https://github.com/SerenityOS/serenity/pull/17103
Reviewed-by: https://github.com/linusg
3 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
void push(NonnullRefPtr<Card> card);
|
||||
NonnullRefPtr<Card> pop();
|
||||
void move_to_stack(CardStack&);
|
||||
void take_all(CardStack&);
|
||||
void rebound_cards();
|
||||
|
||||
bool is_allowed_to_push(Card const&, size_t stack_size = 1, MovementRule movement_rule = MovementRule::Alternating) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue