Remove magic number

This commit is contained in:
Jonas Zeunert
2022-06-06 22:42:49 +02:00
parent fe826568b8
commit 5571c2b52a
2 changed files with 3 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ class PlayerState:
def activate(self):
self.resetBall()
time.sleep(3)
time.sleep(config.WAIT_TIME_TO_RESET_SECONDS)
self.isActive = True
def deactivate(self):

View File

@@ -24,3 +24,5 @@ RED_SPECIAL = SpecialEvent.replay
RED_SPECIAL_TIMES = 1
ORANGE_SPECIAL = SpecialEvent.points
ORANGE_SPECIAL_BANK = ORANGE_SPECIAL_BANK_OPTIONS["BOTH"]
## Tech config
WAIT_TIME_TO_RESET_SECONDS = 0.6