mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 18:58:56 +00:00
FlappyBug: Make helper structs public
They will need to be referenced by main later on.
This commit is contained in:
parent
05d91b5843
commit
81eb450369
Notes:
sideshowbarker
2024-07-17 22:19:01 +09:00
Author: https://github.com/creator1creeper1
Commit: 81eb450369
Pull-request: https://github.com/SerenityOS/serenity/pull/11383
Reviewed-by: https://github.com/sin-ack ✅
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,7 @@ private:
|
||||||
bool ready_to_start() const;
|
bool ready_to_start() const;
|
||||||
void player_input();
|
void player_input();
|
||||||
|
|
||||||
|
public:
|
||||||
struct Bug {
|
struct Bug {
|
||||||
const float x { 50 };
|
const float x { 50 };
|
||||||
const float radius { 16 };
|
const float radius { 16 };
|
||||||
|
@ -141,6 +142,7 @@ private:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
private:
|
||||||
Bug m_bug;
|
Bug m_bug;
|
||||||
Obstacle m_obstacle;
|
Obstacle m_obstacle;
|
||||||
Cloud m_cloud;
|
Cloud m_cloud;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue