mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +00:00
Snake: Update snake skin color interactively while picking
The snake now changes color while interacting with `GUI::ColorPicker`
This commit is contained in:
parent
0388bb019f
commit
d1f6540196
2 changed files with 6 additions and 4 deletions
|
@ -34,6 +34,7 @@ public:
|
|||
Function<bool(u32)> on_score_update;
|
||||
|
||||
void set_skin_color(Color);
|
||||
Gfx::Color get_skin_color() const { return m_snake_color; }
|
||||
void set_skin_name(DeprecatedString);
|
||||
void set_skin(NonnullOwnPtr<SnakeSkin> skin);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue