summaryrefslogtreecommitdiff
path: root/Userland/Games/FlappyBug/Game.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Games/FlappyBug/Game.h')
-rw-r--r--Userland/Games/FlappyBug/Game.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Games/FlappyBug/Game.h b/Userland/Games/FlappyBug/Game.h
index 90061b0176..0b285462f1 100644
--- a/Userland/Games/FlappyBug/Game.h
+++ b/Userland/Games/FlappyBug/Game.h
@@ -148,6 +148,8 @@ private:
float m_difficulty {};
float m_restart_cooldown {};
const RefPtr<Gfx::Bitmap> m_background_bitmap { Gfx::Bitmap::load_from_file("/res/icons/flappybug/background.png") };
+ const Gfx::IntRect m_score_rect { 10, 10, 20, 20 };
+ const Gfx::IntRect m_text_rect { game_width / 2 - 80, game_height / 2 - 40, 160, 80 };
};
}