Use a larger example map

This commit is contained in:
Yohann D'ANELLO
2020-11-11 16:00:40 +01:00
parent d08ff7061f
commit 0f53407b3d
3 changed files with 43 additions and 6 deletions

View File

@ -46,12 +46,12 @@ class Game:
Create a new game on the screen.
"""
# TODO generate a new map procedurally
self.map = Map.load("resources/example_map.txt")
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, 6)
self.player.move(1, 14)
self.map.spawn_random_entities(randint(1, 5))
@staticmethod