mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:37:34 +00:00
LibCards+Games: Rename "draw" methods to "paint" for clarity
"Draw" is already a card-game term so using it for graphics was confusing me a lot!
This commit is contained in:
parent
6ef0504a42
commit
bfa9ae809f
8 changed files with 17 additions and 17 deletions
|
@ -52,7 +52,7 @@ public:
|
|||
|
||||
bool is_allowed_to_push(Card const&, size_t stack_size = 1, MovementRule movement_rule = MovementRule::Alternating) const;
|
||||
void add_all_grabbed_cards(Gfx::IntPoint const& click_location, NonnullRefPtrVector<Card>& grabbed, MovementRule movement_rule = MovementRule::Alternating);
|
||||
void draw(GUI::Painter&, Gfx::Color const& background_color);
|
||||
void paint(GUI::Painter&, Gfx::Color const& background_color);
|
||||
void clear();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue