summaryrefslogtreecommitdiff
path: root/src/sliceitoff/player
diff options
context:
space:
mode:
authorViljami Ilola <+@hix.fi>2024-04-09 01:54:49 +0300
committerViljami Ilola <+@hix.fi>2024-04-09 01:54:49 +0300
commit7a97b9c7a779aa7739e743770559ca7146ba6df3 (patch)
tree2b4f917a2187e74b27e0a272a8d15c48fd41f60f /src/sliceitoff/player
parent5981707f152b4e611abb50a6975a44548844117a (diff)
use namespace package in importsv0.3b2
Diffstat (limited to 'src/sliceitoff/player')
-rw-r--r--src/sliceitoff/player/life.py5
-rw-r--r--src/sliceitoff/player/player.py2
-rw-r--r--src/sliceitoff/player/static.py3
3 files changed, 5 insertions, 5 deletions
diff --git a/src/sliceitoff/player/life.py b/src/sliceitoff/player/life.py
index ef39869..16ba052 100644
--- a/src/sliceitoff/player/life.py
+++ b/src/sliceitoff/player/life.py
@@ -1,9 +1,8 @@
""" player.life - Hearth that will explode """
import pygame
-from display import Scaling
-
-from text import get_letter_surface, ExplodingSprite
+from sliceitoff.display import Scaling
+from sliceitoff.text import get_letter_surface, ExplodingSprite
class PieceOfHearth(ExplodingSprite):
""" Eploding piece. Hearth consist of these """
diff --git a/src/sliceitoff/player/player.py b/src/sliceitoff/player/player.py
index 82cc9a4..1d6ede7 100644
--- a/src/sliceitoff/player/player.py
+++ b/src/sliceitoff/player/player.py
@@ -2,7 +2,7 @@
import os
import pygame
-from display import Scaling
+from sliceitoff.display import Scaling
from .static import SLICER
diff --git a/src/sliceitoff/player/static.py b/src/sliceitoff/player/static.py
index 415f1cd..f965570 100644
--- a/src/sliceitoff/player/static.py
+++ b/src/sliceitoff/player/static.py
@@ -1,6 +1,7 @@
""" player.static - static data related to player - now just slicer """
from dataclasses import dataclass
-from display import CGA_COLORS
+
+from sliceitoff.display import CGA_COLORS
@dataclass
class SLICER: