fixed imports

This commit is contained in:
LukeSkiiWalker 2021-03-04 15:02:42 +01:00
parent b0ec6d2301
commit 4290f95576
6 changed files with 12 additions and 10 deletions

View File

@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/venv" />
</content>
<orderEntry type="jdk" jdkName="Python 3.8 (AI-Project)" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8" project-jdk-type="Python SDK" />
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8 (AI-Project)" project-jdk-type="Python SDK" />
</project>

View File

@ -1,6 +1,6 @@
import pygame
from game.game_map import GameMap
from survival.game_map import GameMap
window_width = 1280
window_height = 720

View File

@ -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:

View File

@ -2,7 +2,7 @@ import os
import pygame
from game.game_object import GameObject
from survival.game_object import GameObject
class Player(GameObject):

View File

@ -1,6 +1,6 @@
import os
from game.game_object import GameObject
from survival.game_object import GameObject
class Stone(GameObject):