Files
flippr-game/BankTarget.py
2022-05-06 00:00:56 +02:00

17 lines
349 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