randrange anpassung + rising ball rename
This commit is contained in:
@@ -15,7 +15,7 @@ class RightKickerEvent(Event):
|
|||||||
|
|
||||||
self.is_running = True
|
self.is_running = True
|
||||||
|
|
||||||
sleeptime = randrange(500, 1800) / 1000
|
sleeptime = randrange(300, 1200) / 1000
|
||||||
sleep(sleeptime)
|
sleep(sleeptime)
|
||||||
|
|
||||||
super().trigger(target)
|
super().trigger(target)
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ from Target import Target
|
|||||||
|
|
||||||
class RisingBallTarget(Target):
|
class RisingBallTarget(Target):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__(0, "Rising Ball")
|
super().__init__(0, "Rising ball")
|
||||||
|
|
||||||
def hit(self):
|
def hit(self):
|
||||||
super().hit()
|
super().hit()
|
||||||
Reference in New Issue
Block a user