- simplified debug flags
- added params class - cleaned up
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user