Added maze loading. /JL

This commit is contained in:
2025-04-17 21:40:49 +02:00
parent fdd3ce1255
commit 21870930ef
8 changed files with 158 additions and 37 deletions

View File

@@ -1,6 +1,6 @@
import pygame
import os
from enums import Color
from actors.enums import Colors
class Scoreboard:
def __init__(self, font_size=24, highscore_file="highscore.txt"):
@@ -9,7 +9,7 @@ class Scoreboard:
self.highscore = self.load_highscore()
self.font = pygame.font.Font(None, font_size)
self.color = Color.WHITE.value
self.color = Colors.WHITE.value
self.score_pos = (10, 10)
self.highscore_pos = (10, 40)