diff options
author | Viljami Ilola <+@hix.fi> | 2024-03-29 18:39:41 +0200 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-03-29 18:39:41 +0200 |
commit | a9631796cf6d03946c6d1a72fba3cff554bd0f5c (patch) | |
tree | 27713cd7325aa55428f066b7fccdde0a74b862f9 /src/sliceitoff/screens/levelup.py | |
parent | 7765d20550a8d5680b624f6063b4d2b23a094fed (diff) |
docstrings
Diffstat (limited to 'src/sliceitoff/screens/levelup.py')
-rw-r--r-- | src/sliceitoff/screens/levelup.py | 3 |
1 files changed, 2 insertions, 1 deletions
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', |