From 4290f95576cf8c8d11b06919e67845eb1f4dbd07 Mon Sep 17 00:00:00 2001 From: LukeSkiiWalker <58610760+LukeSkiiWalker@users.noreply.github.com> Date: Thu, 4 Mar 2021 15:02:42 +0100 Subject: [PATCH] fixed imports --- .idea/ai-project.iml | 6 ++++-- .idea/misc.xml | 2 +- survival/__init__.py | 2 +- survival/game_map.py | 8 ++++---- survival/player.py | 2 +- survival/stone.py | 2 +- 6 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.idea/ai-project.iml b/.idea/ai-project.iml index d0876a7..438b731 100644 --- a/.idea/ai-project.iml +++ b/.idea/ai-project.iml @@ -1,8 +1,10 @@ - - + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index d1e22ec..23ec5f6 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/survival/__init__.py b/survival/__init__.py index 0f7bd0d..ad64f01 100644 --- a/survival/__init__.py +++ b/survival/__init__.py @@ -1,6 +1,6 @@ import pygame -from game.game_map import GameMap +from survival.game_map import GameMap window_width = 1280 window_height = 720 diff --git a/survival/game_map.py b/survival/game_map.py index bea79ad..a0c68c0 100644 --- a/survival/game_map.py +++ b/survival/game_map.py @@ -3,10 +3,10 @@ import os import pygame from pygame.rect import Rect -from game.player import Player -from game.quad_tree import QuadTree -from game.stone import Stone -from game.tile import Tile +from survival.player import Player +from survival.quad_tree import QuadTree +from survival.stone import Stone +from survival.tile import Tile class GameMap: diff --git a/survival/player.py b/survival/player.py index 116a739..bd4cf58 100644 --- a/survival/player.py +++ b/survival/player.py @@ -2,7 +2,7 @@ import os import pygame -from game.game_object import GameObject +from survival.game_object import GameObject class Player(GameObject): diff --git a/survival/stone.py b/survival/stone.py index 66c66bb..f72dab2 100644 --- a/survival/stone.py +++ b/survival/stone.py @@ -1,6 +1,6 @@ import os -from game.game_object import GameObject +from survival.game_object import GameObject class Stone(GameObject):