diff --git a/src/AI/AutomaticMovement.py b/src/AI/AutomaticMovement.py index 10b98e1..667042a 100644 --- a/src/AI/AutomaticMovement.py +++ b/src/AI/AutomaticMovement.py @@ -1,5 +1,5 @@ from src.entities.Entity import Entity -from entities.Enums import Rotations, Movement +from src.entities.Enums import Rotations, Movement from src.AI.AStarNode import AStarNode from queue import PriorityQueue diff --git a/src/entities/Entity.py b/src/entities/Entity.py index ef0d913..12d023b 100644 --- a/src/entities/Entity.py +++ b/src/entities/Entity.py @@ -2,7 +2,7 @@ from pathlib import Path import pygame -from entities.Enums import Rotations, Movement +from src.entities.Enums import Rotations, Movement class Entity(pygame.sprite.Sprite): @@ -216,7 +216,7 @@ class Entity(pygame.sprite.Sprite): """ if self.movementTarget is None: self.movementTarget = target - from AI.AutomaticMovement import aStar + from src.AI.AutomaticMovement import aStar self.movesList = aStar(self, self.movementTarget, map) if not self.movesList: self.movementTarget = None diff --git a/src/entities/Player.py b/src/entities/Player.py index 12d4f50..e4c2b7e 100644 --- a/src/entities/Player.py +++ b/src/entities/Player.py @@ -2,7 +2,7 @@ import random import pygame -from entities.Enums import Rotations, StatisticNames, Movement +from src.entities.Enums import Rotations, StatisticNames, Movement from src.entities.Entity import Entity from src.entities.Statistics import Statistics diff --git a/src/game/EventManager.py b/src/game/EventManager.py index ae851c9..71af182 100644 --- a/src/game/EventManager.py +++ b/src/game/EventManager.py @@ -3,9 +3,7 @@ from time import sleep import pygame -from src.entities.Interactable import Interactable -from src.entities.Pickupable import Pickupable -from entities.Enums import Movement +from src.entities.Enums import Movement class EventManager: diff --git a/src/ui/Ui.py b/src/ui/Ui.py index f44517d..f232cce 100644 --- a/src/ui/Ui.py +++ b/src/ui/Ui.py @@ -3,7 +3,7 @@ from pathlib import Path import pygame -from entities.Enums import StatisticNames +from src.entities.Enums import StatisticNames from src.entities.Statistics import Statistics from src.ui.UiBar import UiBar from src.ui.UiConsole import UiConsole