Spawn also items

This commit is contained in:
Yohann D'ANELLO
2020-11-11 16:23:27 +01:00
parent d75f4290ff
commit 2b5d82db57
5 changed files with 21 additions and 7 deletions

View File

@ -52,7 +52,7 @@ class Game:
self.player = Player()
self.map.add_entity(self.player)
self.player.move(1, 14)
self.map.spawn_random_entities(randint(1, 5))
self.map.spawn_random_entities(randint(3, 10))
@staticmethod
def load_game(filename: str) -> None: