Unnötige Game.flashlight Variable gelöscht

This commit is contained in:
binaerverkehr 2026-09-26 13:26:15 +02:00
parent 48cda170dd
commit 8bc852c29d

View file

@ -23,7 +23,6 @@ class Game:
self.player = Player(self, self.player_pos, width=PLAYER_SIZE, height=PLAYER_SIZE)
# Items
self.item_rect = pygame.Rect(70, 150, 10, 10)
self.flashlight = 0
self.flashlight_rect = pygame.Rect(0, 0, 0, 0)
self.color_item = (0, 0, 0)
self.light_points: list[pygame.Vector2] = []