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/enemies | |
parent | 5981707f152b4e611abb50a6975a44548844117a (diff) |
use namespace package in importsv0.3b2
Diffstat (limited to 'src/sliceitoff/enemies')
-rw-r--r-- | src/sliceitoff/enemies/ball.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/enemies/bouncher.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/enemies/enemy.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/sliceitoff/enemies/ball.py b/src/sliceitoff/enemies/ball.py index b8c8467..91a43df 100644 --- a/src/sliceitoff/enemies/ball.py +++ b/src/sliceitoff/enemies/ball.py @@ -1,7 +1,7 @@ """ enemies.ball - Enemy type that goes straight line hitting walls """ from random import randrange, choice -from text import get_letter_surface +from sliceitoff.text import get_letter_surface from .enemy import Enemy BALL_SPAWN_AREA = (0, 0, 300_000, 200_000) diff --git a/src/sliceitoff/enemies/bouncher.py b/src/sliceitoff/enemies/bouncher.py index 692492b..a10f204 100644 --- a/src/sliceitoff/enemies/bouncher.py +++ b/src/sliceitoff/enemies/bouncher.py @@ -1,7 +1,7 @@ """ enemies.bouncher - Enemy type that bouches around """ from random import randrange, choice -from text import get_letter_surface +from sliceitoff.text import get_letter_surface from .enemy import Enemy BOUNCHER_SPAWN_AREA = (0, 0, 300_000, 80_000) diff --git a/src/sliceitoff/enemies/enemy.py b/src/sliceitoff/enemies/enemy.py index 08d75dd..600ea26 100644 --- a/src/sliceitoff/enemies/enemy.py +++ b/src/sliceitoff/enemies/enemy.py @@ -1,7 +1,7 @@ """ enemy.enemy - Enemy super class. Wall hitting and other commons """ import pygame -from display import Scaling +from sliceitoff.display import Scaling class Enemy(pygame.sprite.Sprite): """ Enemy super class. Just common movements. """ |