asdf
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user