mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:27:35 +00:00
Hearts: Move code to reposition cards into a separate method
This commit is contained in:
parent
9a6c6a98e5
commit
4ba9cc82c0
2 changed files with 12 additions and 5 deletions
|
@ -49,6 +49,8 @@ private:
|
|||
bool other_player_has_lower_value_card(Player& player, Card& card);
|
||||
bool other_player_has_higher_value_card(Player& player, Card& card);
|
||||
|
||||
void reposition_hand(Player& player);
|
||||
|
||||
void start_animation(NonnullRefPtrVector<Card> cards, Gfx::IntPoint const& end, Function<void()> did_finish_callback, int initial_delay_ms, int steps = 30);
|
||||
void stop_animation();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue