]> Skullheadx's Git Forge - Pygame-Jam.git/commitdiff
Changed init requirements
authorlbcmk <30442978+lbcmk@users.noreply.github.com>
Mon, 11 Jul 2022 03:14:58 +0000 (23:14 -0400)
committerlbcmk <30442978+lbcmk@users.noreply.github.com>
Mon, 11 Jul 2022 03:14:58 +0000 (23:14 -0400)
Function/Portal.py

index 1062ea08afe76e8f4a732fffc581b3512d960b9c..64e207643d23f1ddc54fcef6d9aa63763fad2262 100644 (file)
@@ -5,11 +5,7 @@ from Function.WorldCoords import *
 
 class Transition:
 
-    def __init__(self, nextLevel, X, Y):
-        self.level = nextLevel
-        self.x = X
-        self.y = Y
-
+    def __init__(self):
         self.height = 150
         self.width = 80