Remove magic number
This commit is contained in:
@@ -81,7 +81,7 @@ class PlayerState:
|
|||||||
|
|
||||||
def activate(self):
|
def activate(self):
|
||||||
self.resetBall()
|
self.resetBall()
|
||||||
time.sleep(3)
|
time.sleep(config.WAIT_TIME_TO_RESET_SECONDS)
|
||||||
self.isActive = True
|
self.isActive = True
|
||||||
|
|
||||||
def deactivate(self):
|
def deactivate(self):
|
||||||
|
|||||||
@@ -24,3 +24,5 @@ RED_SPECIAL = SpecialEvent.replay
|
|||||||
RED_SPECIAL_TIMES = 1
|
RED_SPECIAL_TIMES = 1
|
||||||
ORANGE_SPECIAL = SpecialEvent.points
|
ORANGE_SPECIAL = SpecialEvent.points
|
||||||
ORANGE_SPECIAL_BANK = ORANGE_SPECIAL_BANK_OPTIONS["BOTH"]
|
ORANGE_SPECIAL_BANK = ORANGE_SPECIAL_BANK_OPTIONS["BOTH"]
|
||||||
|
## Tech config
|
||||||
|
WAIT_TIME_TO_RESET_SECONDS = 0.6
|
||||||
|
|||||||
Reference in New Issue
Block a user