Move the camera with the player

This commit is contained in:
Yohann D'ANELLO
2020-11-10 22:02:41 +01:00
parent d5ef041f48
commit 26196a7dca
2 changed files with 9 additions and 1 deletions

View File

@ -50,8 +50,8 @@ class Game:
self.map.currenty = 1
self.map.currentx = 6
self.player = Player()
self.player.move(1, 6)
self.map.add_entity(self.player)
self.player.move(1, 6)
self.map.spawn_random_entities(randint(1, 5))
@staticmethod