I fing hate debugging

pull/1/head
Julius Riegel 7 years ago
parent 77fef8285d
commit 14f7c7854c

@ -29,8 +29,8 @@
<file leaf-file-name="main.py" pinned="false" current-in-tab="true"> <file leaf-file-name="main.py" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/main.py"> <entry file="file://$PROJECT_DIR$/main.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="542"> <state relative-caret-position="355">
<caret line="53" column="21" lean-forward="false" selection-start-line="53" selection-start-column="21" selection-end-line="53" selection-end-column="21" /> <caret line="42" column="23" lean-forward="false" selection-start-line="42" selection-start-column="23" selection-end-line="42" selection-end-column="23" />
<folding> <folding>
<element signature="e#0#19#0" expanded="true" /> <element signature="e#0#19#0" expanded="true" />
</folding> </folding>
@ -466,8 +466,8 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/main.py"> <entry file="file://$PROJECT_DIR$/main.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="542"> <state relative-caret-position="355">
<caret line="53" column="21" lean-forward="false" selection-start-line="53" selection-start-column="21" selection-end-line="53" selection-end-column="21" /> <caret line="42" column="23" lean-forward="false" selection-start-line="42" selection-start-column="23" selection-end-line="42" selection-end-column="23" />
<folding> <folding>
<element signature="e#0#19#0" expanded="true" /> <element signature="e#0#19#0" expanded="true" />
</folding> </folding>

@ -38,7 +38,9 @@ def main():
while running: while running:
clock.tick(25) clock.tick(25)
print('waited some time')
for event in pygame.event.get(): for event in pygame.event.get():
print(event)
if event.type == pygame.QUIT: if event.type == pygame.QUIT:
print('quit event') print('quit event')
running = False running = False

Loading…
Cancel
Save