Fix broken tests

This commit is contained in:
Yohann D'ANELLO
2020-11-11 16:58:20 +01:00
parent ac22aef860
commit 8db00bcaa6
3 changed files with 19 additions and 10 deletions

View File

@ -47,11 +47,9 @@ class Game:
"""
# TODO generate a new map procedurally
self.map = Map.load("resources/example_map_2.txt")
self.map.currenty = 1
self.map.currentx = 6
self.player = Player()
self.map.add_entity(self.player)
self.player.move(1, 14)
self.player.move(self.map.start_y, self.map.start_x)
self.map.spawn_random_entities(randint(3, 10))
@staticmethod