- simplified debug flags

- added params class
- cleaned up
This commit is contained in:
2024-06-09 18:43:42 +02:00
parent 64960873c8
commit c1f64943c3
4 changed files with 38 additions and 21 deletions
+4
View File
@@ -6,6 +6,10 @@ class PlayerProvider:
def __init__(self, p1: APlayer, p2: APlayer):
self.players = [p1, p2]
def set_debug(self, with_debug):
for p in self.players:
p.set_debug(with_debug)
def choose(self) -> list[APlayer]:
# Wer fängt an?
players = self.players