python and super is super
This commit is contained in:
2
Bank.py
2
Bank.py
@@ -12,7 +12,7 @@ class Bank(Target):
|
||||
|
||||
def __all_targets_hit__(self):
|
||||
self.__reset_all_targets__()
|
||||
super.hit()
|
||||
super().hit()()
|
||||
pass
|
||||
|
||||
def __reset_all_targets__(self):
|
||||
|
||||
@@ -7,7 +7,7 @@ class BankTarget(Target):
|
||||
|
||||
def hit(self):
|
||||
self.is_hit = True
|
||||
super.hit()
|
||||
super().hit()()
|
||||
#notify Bank
|
||||
|
||||
def reset(self):
|
||||
|
||||
@@ -5,4 +5,4 @@ class ReboundContactTarget(Target):
|
||||
super().__init__(100, 'Rebound Contact')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -5,4 +5,4 @@ class LeftInlaneTarget(Target):
|
||||
super().__init__(100, 'Left Inlane')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -5,4 +5,4 @@ class LeftOutlaneTarget(Target):
|
||||
super().__init__(100, 'Left Outlane')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class RightInlaneTarget(Target):
|
||||
super().__init__(100, 'Right Inlane')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -7,4 +7,4 @@ class RightOutlaneKickerTarget(Target):
|
||||
#Scores 30000, 50000 when lit and advances 1-2-3-4-5 sequence
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class RightOutlaneTarget(Target):
|
||||
super().__init__(50000, "Right Outlane")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class CanalButtonTopTarget(Target):
|
||||
super().__init__(20000, "Canal Button Bottom")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class LeftLaneButton4Target(Target):
|
||||
super().__init__(20000, "Canal Button Middle Bottom")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class LeftLaneButton3Target(Target):
|
||||
super().__init__(20000, "Canal Button Middle")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class LeftLaneButton2Target(Target):
|
||||
super().__init__(20000, "Canal Button Middle Top")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -5,4 +5,4 @@ class LeftLaneButton1Target(Target):
|
||||
super().__init__(100, 'Left Lane Button #1')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class FixedTarget1(Target):
|
||||
super().__init__(0, "Fixed Target 1")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class FixedTarget2(Target):
|
||||
super().__init__(0, "Fixed Target 2")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -5,4 +5,4 @@ class FixedTarget3(Target):
|
||||
super().__init__(100, 'Fixed Target 3')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class FixedTarget4(Target):
|
||||
super().__init__(100, 'Fixed Target 4')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class FixedTarget5(Target):
|
||||
super().__init__(100, 'Fixed Target 5')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -11,4 +11,4 @@ class LeftBank(Bank):
|
||||
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class LeftBankLeftTarget(BankTarget):
|
||||
super().__init__(100, 'Left Bank Left')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class LeftBankMiddleLeftTarget(BankTarget):
|
||||
super().__init__(100, 'Left Bank Middle Left')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class LeftBankMiddleRightTarget(BankTarget):
|
||||
super().__init__(100, 'Left Bank Middle Right')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class LeftBankRightTarget(Target):
|
||||
super().__init__(100, 'Left Bank Right')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class LeftPopTarget(Target):
|
||||
super().__init__(0, "Left Pop")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class RightPopTarget(Target):
|
||||
super().__init__(100, 'Right Pop')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -9,4 +9,4 @@ class RightBank(Bank):
|
||||
super().__init__(0, "Right Bank", targets)
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class RightBankLeftTarget(BankTarget):
|
||||
super().__init__(100, "Right Bank Left")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class RightBankMiddleTarget(BankTarget):
|
||||
super().__init__(100, 'Right Bank Middle')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class RightBankRightTarget(BankTarget):
|
||||
super().__init__(100, "Right Bank Right")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -5,4 +5,4 @@ class LeftSlingshotTarget(Target):
|
||||
super().__init__(100, 'Left Slingshot')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class RightSlingshotTarget(Target):
|
||||
super().__init__(10, "Right Slingshot")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -9,4 +9,4 @@ class FixedSpecialOrangeTarget(Target):
|
||||
super().__init__(100000, "Special Orange")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -8,4 +8,4 @@ class FixedSpecialRedTarget(Target):
|
||||
super().__init__(10000, "Special Red")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -5,4 +5,4 @@ class SpinnerTarget(Target):
|
||||
super().__init__(100, 'Spinner')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class CreditTarget(Target):
|
||||
super().__init__(0, 'Credit')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -5,4 +5,4 @@ class OutholeTarget(Target):
|
||||
super().__init__(100, 'Outhole')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
|
||||
@@ -6,4 +6,4 @@ class RisingBall(Target):
|
||||
super().__init__(0, "Rising Ball")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -12,4 +12,4 @@ class TopBank(Bank):
|
||||
super().__init__(0, "Top Bank", targets)
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class TopBankLeftTarget(BankTarget):
|
||||
super().__init__(100, 'Top Bank Left')
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class TopBankMiddleLeftTarget(BankTarget):
|
||||
super().__init__(100, "Top Bank Middle Left")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -5,4 +5,4 @@ class TopBankMiddleRightTarget(BankTarget):
|
||||
super().__init__(100, "Top Bank Middle Right")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class TopBankMiddleTarget(BankTarget):
|
||||
super().__init__(100, "Top Bank Middle")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
@@ -6,4 +6,4 @@ class TopBankRightTarget(BankTarget):
|
||||
super().__init__(100000, "Top Bank Right")
|
||||
|
||||
def hit(self):
|
||||
super.hit()
|
||||
super().hit()()
|
||||
Reference in New Issue
Block a user