Added logs to the layout, clear logs on new game (tests still aren't fixed)
This commit is contained in:
@ -42,6 +42,7 @@ class Game:
|
||||
# TODO generate a new map procedurally
|
||||
self.map = Map.load(ResourceManager.get_asset_path("example_map_2.txt"))
|
||||
self.map.logs = self.logs
|
||||
self.logs.clear()
|
||||
self.player = Player()
|
||||
self.map.add_entity(self.player)
|
||||
self.player.move(self.map.start_y, self.map.start_x)
|
||||
|
Reference in New Issue
Block a user