refactor: remove redundant tile_size import and cleanup formatting

This commit is contained in:
Niklas Haiden
2026-05-08 17:25:34 +02:00
parent 89d72b2a2c
commit 83398c6eec
3 changed files with 4 additions and 7 deletions
-3
View File
@@ -74,7 +74,6 @@ class Game:
self.update(dt)
self.draw()
pygame.display.flip()
frame_count += 1
@@ -144,8 +143,6 @@ class Game:
self.screen.fill(color_void)
self.map.draw_map(self.screen, self.font)
# Draw by Y position so actors lower on the map appear in front.
for actor in sorted([self.player], key=lambda item: item.position.y):
actor.draw(self.screen)