From a9631796cf6d03946c6d1a72fba3cff554bd0f5c Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Fri, 29 Mar 2024 18:39:41 +0200 Subject: docstrings --- src/sliceitoff/screens/levelup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sliceitoff/screens/levelup.py') diff --git a/src/sliceitoff/screens/levelup.py b/src/sliceitoff/screens/levelup.py index ef48b7b..25cb1b9 100644 --- a/src/sliceitoff/screens/levelup.py +++ b/src/sliceitoff/screens/levelup.py @@ -1,6 +1,8 @@ +""" screen.levelup - Screen to show after succesfully completing level """ from text import TextPage def levelup_screen(stats = None): + """ levelup_screen - screen full of stats how bonus is calculated """ ( total_bonus, level_bonus, @@ -20,7 +22,6 @@ def levelup_screen(stats = None): f"\xea\x0f\xef{herd_bonus:9d}pts\n" f"\n" f"Bonus{total_bonus:13d}pts\n") - return TextPage( text, font = 'lcd', -- cgit v1.2.3