mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
Snake: Add some more fruit types.
This commit is contained in:
parent
4619019481
commit
c9b86be1cc
6 changed files with 23 additions and 6 deletions
|
@ -13,7 +13,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto* window = new GWindow;
|
||||
window->set_title("Snake");
|
||||
window->set_rect(100, 100, 300, 300);
|
||||
window->set_rect(100, 100, 320, 320);
|
||||
|
||||
auto* game = new SnakeGame;
|
||||
window->set_main_widget(game);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue