From 7a97b9c7a779aa7739e743770559ca7146ba6df3 Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Tue, 9 Apr 2024 01:54:49 +0300 Subject: use namespace package in imports --- src/sliceitoff/enemies/ball.py | 2 +- src/sliceitoff/enemies/bouncher.py | 2 +- src/sliceitoff/enemies/enemy.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sliceitoff/enemies') 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. """ -- cgit v1.2.3