Files
flippr-game/BankTarget.py
Jonas Zeunert 68dc6ecf3e bugfix
2022-05-06 00:01:57 +02:00

17 lines
341 B
Python

from Target import Target
class BankTarget(Target):
def __init__(self, points, name):
super().__init__(points, name)
self.is_hit = False
def hit(self):
if self.is_hit:
return
self.is_hit = True
super().hit()
#notify Bank
def reset(self):
self.is_hit = False