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/game | |
parent | 5981707f152b4e611abb50a6975a44548844117a (diff) |
use namespace package in importsv0.3b2
Diffstat (limited to 'src/sliceitoff/game')
-rw-r--r-- | src/sliceitoff/game/game.py | 12 | ||||
-rw-r--r-- | src/sliceitoff/game/initials.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/game/level.py | 10 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/sliceitoff/game/game.py b/src/sliceitoff/game/game.py index 9afe342..3404fd3 100644 --- a/src/sliceitoff/game/game.py +++ b/src/sliceitoff/game/game.py @@ -6,15 +6,15 @@ from pathlib import Path import pygame -from display import Display -from text import Fonts -from stats import Stats -from screens import ( +from sliceitoff.display import Display +from sliceitoff.text import Fonts +from sliceitoff.stats import Stats +from sliceitoff.screens import ( hiscores_screen, instructions1_screen, instructions2_screen) -from hiscores import HiScores -from mainmenu import Mainmenu, MenuItems +from sliceitoff.hiscores import HiScores +from sliceitoff.mainmenu import Mainmenu, MenuItems from .level import Level from .show import Show diff --git a/src/sliceitoff/game/initials.py b/src/sliceitoff/game/initials.py index 9fb5a68..385562c 100644 --- a/src/sliceitoff/game/initials.py +++ b/src/sliceitoff/game/initials.py @@ -1,7 +1,7 @@ """ game.initials - Use will be asked for initials """ import pygame -from screens import initials_screen +from sliceitoff.screens import initials_screen from .explodeout import ExplodeOutGroup diff --git a/src/sliceitoff/game/level.py b/src/sliceitoff/game/level.py index 845c960..c3713ce 100644 --- a/src/sliceitoff/game/level.py +++ b/src/sliceitoff/game/level.py @@ -1,11 +1,11 @@ """ game.level - This is what runs invidual levels """ import pygame -from status import Status -from player import Player, Life -from field import Field -from enemies import Enemies -from screens import levelup_screen, gameover_screen, level_screen +from sliceitoff.status import Status +from sliceitoff.player import Player, Life +from sliceitoff.field import Field +from sliceitoff.enemies import Enemies +from sliceitoff.screens import levelup_screen, gameover_screen, level_screen from .gameplay import Gameplay from .show import Show |