randrange anpassung + rising ball rename

This commit is contained in:
Jonas Zeunert
2022-05-06 00:14:19 +02:00
parent fb870cdec9
commit ca6c9368c3
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ class RightKickerEvent(Event):
self.is_running = True
sleeptime = randrange(500, 1800) / 1000
sleeptime = randrange(300, 1200) / 1000
sleep(sleeptime)
super().trigger(target)

View File

@@ -3,7 +3,7 @@ from Target import Target
class RisingBallTarget(Target):
def __init__(self):
super().__init__(0, "Rising Ball")
super().__init__(0, "Rising ball")
def hit(self):
super().hit()