Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/physics.py
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2008-08-31 00:13:09 (GMT)
committer Daniel Drake <dsd@laptop.org>2008-08-31 00:13:09 (GMT)
commit901a8a638a92b2138b6ce27dd7e90b3b3b4d1833 (patch)
treeb27c9504dd356c61ee4902413c09ceb22126c2ad /physics.py
parent233d543dab3f0a656d1e34ed306a08ffcee85c73 (diff)
add concept of cost
Diffstat (limited to 'physics.py')
-rw-r--r--physics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/physics.py b/physics.py
index b2ca2cb..ef9b2b9 100644
--- a/physics.py
+++ b/physics.py
@@ -71,7 +71,7 @@ class PhysicsGame:
self.currentTool.draw()
#Print all the text on the screen
- text = self.font.render("Current Tool: "+self.currentTool.name, True, (255,255,255))
+ text = self.font.render("Total Cost: %d" % self.bridge.cost, True, (0,0,0))
textpos = text.get_rect(left=700,top=7)
self.screen.blit(text,textpos)