Files
flippr-game/BankTarget.py
Jonas Zeunert 29150d6ddc typo replace
2020-05-03 19:48:07 +02:00

14 lines
297 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):
self.is_hit = True
super().hit()
#notify Bank
def reset(self):
self.is_hit = False