Aggiungi il controllo della visibilità per il disegno di immagini e rettangoli nella classe GameWindow

This commit is contained in:
2024-12-22 19:14:50 +01:00
parent f20e789d80
commit 42e2f4aa16
2 changed files with 7 additions and 1 deletions
-1
View File
@@ -107,7 +107,6 @@ class MiceMaze(controls.KeyBindings):
for file in os.listdir("assets/Rat"):
if file.endswith(".png"):
self.assets[file[:-4]] = self.engine.load_image(f"Rat/{file}")
def add_point(self, value):
self.points += value