diff options
author | Daniel Drake <dsd@laptop.org> | 2008-08-31 00:13:09 (GMT) |
---|---|---|
committer | Daniel Drake <dsd@laptop.org> | 2008-08-31 00:13:09 (GMT) |
commit | 901a8a638a92b2138b6ce27dd7e90b3b3b4d1833 (patch) | |
tree | b27c9504dd356c61ee4902413c09ceb22126c2ad /physics.py | |
parent | 233d543dab3f0a656d1e34ed306a08ffcee85c73 (diff) |
add concept of cost
Diffstat (limited to 'physics.py')
-rw-r--r-- | physics.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |