We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fa7e3e commit 7b6f7e5Copy full SHA for 7b6f7e5
user.cpp
@@ -463,7 +463,12 @@ void DrawMainScreen(Context &ctx) {}
463
//
464
// Возможное решение может занимать примерно N строк.
465
466
-void ConstructMenuScene(Context &ctx, Scene &game_scene) {}
+void ConstructMenuScene(Context &ctx, Scene &game_scene) {
467
+ Object bg;
468
+ bg.render = std::make_shared<Render>("Assets/menu_background.png");
469
+ bg.render->size = ctx.screen_size;
470
+ game_scene.push_back(bg);
471
+}
472
473
// Задание DrawStatus.
474
0 commit comments