diff options
author | Viljami Ilola <+@hix.fi> | 2024-04-09 01:54:49 +0300 |
---|---|---|
committer | Viljami Ilola <+@hix.fi> | 2024-04-09 01:54:49 +0300 |
commit | 7a97b9c7a779aa7739e743770559ca7146ba6df3 (patch) | |
tree | 2b4f917a2187e74b27e0a272a8d15c48fd41f60f /src/sliceitoff/screens | |
parent | 5981707f152b4e611abb50a6975a44548844117a (diff) |
use namespace package in importsv0.3b2
Diffstat (limited to 'src/sliceitoff/screens')
-rw-r--r-- | src/sliceitoff/screens/gameover.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/screens/hiscores.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/screens/initials.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/screens/instructions1.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/screens/instructions2.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/screens/level.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/screens/levelup.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/screens/mainmenu.py | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/src/sliceitoff/screens/gameover.py b/src/sliceitoff/screens/gameover.py index aac4b22..daf5ded 100644 --- a/src/sliceitoff/screens/gameover.py +++ b/src/sliceitoff/screens/gameover.py @@ -1,5 +1,5 @@ """ screen.gameover - screen to be displayer game over situation """ -from text import TextPage +from sliceitoff.text import TextPage def gameover_screen(): """ gameover_screen - overlay top of ended gameplay """ diff --git a/src/sliceitoff/screens/hiscores.py b/src/sliceitoff/screens/hiscores.py index c73f0bf..a0dbb39 100644 --- a/src/sliceitoff/screens/hiscores.py +++ b/src/sliceitoff/screens/hiscores.py @@ -1,5 +1,5 @@ """ screens.hiscores - Defines how to display hiscore text on the screen """ -from text import TextPage +from sliceitoff.text import TextPage def hiscores_screen(score_text): """ hiscores_screen - only ajustments to hiscore text """ diff --git a/src/sliceitoff/screens/initials.py b/src/sliceitoff/screens/initials.py index 632cfa4..9b0cc2c 100644 --- a/src/sliceitoff/screens/initials.py +++ b/src/sliceitoff/screens/initials.py @@ -1,6 +1,6 @@ """ screens.initials - screen where input initials when one makes to hiscores """ -from text import TextPage +from sliceitoff.text import TextPage def initials_screen(name): """ initials_screen - screen where name is updating as user imputs """ diff --git a/src/sliceitoff/screens/instructions1.py b/src/sliceitoff/screens/instructions1.py index 58d6f58..cf9ccc7 100644 --- a/src/sliceitoff/screens/instructions1.py +++ b/src/sliceitoff/screens/instructions1.py @@ -1,5 +1,5 @@ """ screens.instructions1 - First page of instructions""" -from text import TextPage +from sliceitoff.text import TextPage def instructions1_screen(): """ Instructions about the goal """ diff --git a/src/sliceitoff/screens/instructions2.py b/src/sliceitoff/screens/instructions2.py index 19b8928..9d9923f 100644 --- a/src/sliceitoff/screens/instructions2.py +++ b/src/sliceitoff/screens/instructions2.py @@ -1,5 +1,5 @@ """ screens.instructions2 - Page about scoring """ -from text import TextPage +from sliceitoff.text import TextPage def instructions2_screen(): """ Instructions about scoring """ diff --git a/src/sliceitoff/screens/level.py b/src/sliceitoff/screens/level.py index d3a60f8..0a89df7 100644 --- a/src/sliceitoff/screens/level.py +++ b/src/sliceitoff/screens/level.py @@ -1,5 +1,5 @@ """ screens.level - Screen to be shown when level begins. """ -from text import TextPage +from sliceitoff.text import TextPage def level_screen(level): """ level_screen - displays level number """ diff --git a/src/sliceitoff/screens/levelup.py b/src/sliceitoff/screens/levelup.py index 25cb1b9..8a66156 100644 --- a/src/sliceitoff/screens/levelup.py +++ b/src/sliceitoff/screens/levelup.py @@ -1,5 +1,5 @@ """ screen.levelup - Screen to show after succesfully completing level """ -from text import TextPage +from sliceitoff.text import TextPage def levelup_screen(stats = None): """ levelup_screen - screen full of stats how bonus is calculated """ diff --git a/src/sliceitoff/screens/mainmenu.py b/src/sliceitoff/screens/mainmenu.py index 8e1f876..17def9a 100644 --- a/src/sliceitoff/screens/mainmenu.py +++ b/src/sliceitoff/screens/mainmenu.py @@ -1,6 +1,6 @@ """ screens.mainmenu - Screen for mainmenu""" from random import randrange -from text import TextPage +from sliceitoff.text import TextPage def mainmenu_screen(selection): """ Screen where current selection is flashing """ |