File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ def __init__(self):
100
100
pygame .init ()
101
101
102
102
self .screen = pygame .display .set_mode ((SCREEN_WIDTH , SCREEN_HEIGHT ))
103
- self .screen_rect = screen .get_rect ()
103
+ self .screen_rect = self . screen .get_rect ()
104
104
105
105
self .clock = pygame .time .Clock ()
106
106
self .is_running = False
@@ -128,7 +128,7 @@ def create_objects(self):
128
128
129
129
# --- functions ---
130
130
131
- def handle_event (self , event )
131
+ def handle_event (self , event ):
132
132
133
133
'''
134
134
self.player.handle_event(event)
@@ -139,7 +139,7 @@ def handle_event(self, event)
139
139
widget.handle_event(event)
140
140
'''
141
141
142
- def update (self , )
142
+ def update (self ):
143
143
144
144
'''
145
145
self.player.update()
@@ -150,7 +150,7 @@ def update(self, )
150
150
widget.update()
151
151
'''
152
152
153
- def draw (self , surface )
153
+ def draw (self , surface ):
154
154
155
155
#surface.fill(BLACK)
156
156
You can’t perform that action at this time.
0 commit comments