From 81eb4503691f2f294b51e7686c4e8cb655fcb6a7 Mon Sep 17 00:00:00 2001 From: creator1creeper1 Date: Thu, 23 Dec 2021 22:26:47 +0100 Subject: FlappyBug: Make helper structs public They will need to be referenced by main later on. --- Userland/Games/FlappyBug/Game.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Userland/Games/FlappyBug') diff --git a/Userland/Games/FlappyBug/Game.h b/Userland/Games/FlappyBug/Game.h index f3055f475e..b6628742c9 100644 --- a/Userland/Games/FlappyBug/Game.h +++ b/Userland/Games/FlappyBug/Game.h @@ -41,6 +41,7 @@ private: bool ready_to_start() const; void player_input(); +public: struct Bug { const float x { 50 }; const float radius { 16 }; @@ -141,6 +142,7 @@ private: } }; +private: Bug m_bug; Obstacle m_obstacle; Cloud m_cloud; -- cgit v1.2.3