Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/physics.py
diff options
context:
space:
mode:
authornrp <olpc@spongezone.net>2008-08-31 16:47:28 (GMT)
committer nrp <olpc@spongezone.net>2008-08-31 16:47:28 (GMT)
commite66e701e9ef684dd05630c4d74036eaa983acd5c (patch)
tree806957a9f2d084899d48841e812cd8c42b10461e /physics.py
parent286dd0faa2b81be0c23e96ac05c75d91f588dade (diff)
drawing girders correctly
Diffstat (limited to 'physics.py')
-rw-r--r--physics.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/physics.py b/physics.py
index 026e440..3b0431e 100644
--- a/physics.py
+++ b/physics.py
@@ -66,13 +66,15 @@ class PhysicsGame:
# Clear Display
self.screen.fill((80,160,240)) #255 for white
- if self.world.run_physics:
- self.bridge.for_each_frame()
+
# Update & Draw World
self.world.update()
self.world.draw()
+ if self.world.run_physics:
+ self.bridge.for_each_frame()
+
# draw output from tools
self.currentTool.draw()