This commit is contained in:
Jonas Zeunert
2020-03-12 00:29:28 +01:00
parent 67da8e50a3
commit 37543467b0
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ from Target import Target
class BankTarget(Target):
def __init__(self, points):
super(points)
super().__init__(points)
self.is_hit = False
def hit(self):

View File

@@ -11,7 +11,7 @@ class TargetFactory:
continue
target = glo[key]
if 'Target' in key and 'Target' is not key:
if 'Target' in key and 'Target' is not key and 'BankTarget' is not key:
result[key] = target()
elif 'Bank' in key and 'Target' not in key:
targets = TargetFactory.createBankTarget(target, key)