summaryrefslogtreecommitdiff
path: root/src/sliceitoff/screens/levelup.py
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-03-29 18:39:41 +0200
committerViljami Ilola <+@hix.fi>2024-03-29 18:39:41 +0200
commita9631796cf6d03946c6d1a72fba3cff554bd0f5c (patch)
tree27713cd7325aa55428f066b7fccdde0a74b862f9 /src/sliceitoff/screens/levelup.py
parent7765d20550a8d5680b624f6063b4d2b23a094fed (diff)
docstrings
Diffstat (limited to 'src/sliceitoff/screens/levelup.py')
-rw-r--r--src/sliceitoff/screens/levelup.py3
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',