From 5c5df6e068b2957987cb51b34d6930769424f8ca Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Fri, 29 Mar 2024 00:30:39 +0200 Subject: stats as object --- src/sliceitoff/screens/level.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/sliceitoff/screens/level.py') diff --git a/src/sliceitoff/screens/level.py b/src/sliceitoff/screens/level.py index 4a63dc2..ea298ad 100644 --- a/src/sliceitoff/screens/level.py +++ b/src/sliceitoff/screens/level.py @@ -1,9 +1,9 @@ from text import TextPage from stats import Stats -def level_screen(): +def level_screen(level): return TextPage( - f"Level {Stats.level}!", + f"Level {level}!", font = '8x8', size = (24_000, 24_000), pos = (48_000, 108_000) ) -- cgit v1.2.3