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-09-14 18:06:33 (GMT)
committer nrp <olpc@spongezone.net>2008-09-14 18:06:33 (GMT)
commitec034421db0933df5065dd681320ea39e96fc616 (patch)
tree67ed5ad96d067bb42a9e93db9b358c520c14a716 /physics.py
parentbe541af7591bb1a4e1ed143ffbb9f6c1202cb33d (diff)
making joints delete correctly
Diffstat (limited to 'physics.py')
-rw-r--r--physics.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/physics.py b/physics.py
index 57c9d46..f9afca1 100644
--- a/physics.py
+++ b/physics.py
@@ -67,18 +67,15 @@ class PhysicsGame:
# Clear Display
self.screen.fill((80,160,240)) #255 for white
-
-
# 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()
-
+
#Print all the text on the screen
text = self.font.render(_("Total Cost: %d") % self.bridge.cost, True, (0,0,0))
textpos = text.get_rect(left=100,top=7)