1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:58:11 +00:00

FlappyBug: Make helper structs public

They will need to be referenced by main later on.
This commit is contained in:
creator1creeper1 2021-12-23 22:26:47 +01:00 committed by Brian Gianforcaro
parent 05d91b5843
commit 81eb450369

View file

@ -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;