Fixed imports
This commit is contained in:
parent
a8ef08b3ef
commit
1610f9c0da
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user