diff options
author | nrp <olpc@spongezone.net> | 2008-08-31 15:50:21 (GMT) |
---|---|---|
committer | nrp <olpc@spongezone.net> | 2008-08-31 15:50:21 (GMT) |
commit | 286dd0faa2b81be0c23e96ac05c75d91f588dade (patch) | |
tree | fa3fb954d780e756d5d338d4d1427b0c80c8add9 | |
parent | a8cf0c8c524ecfbf69cde72f1f194bba41484dda (diff) |
change time of creation of trains
-rw-r--r-- | physics.py | 1 | ||||
-rw-r--r-- | tools.py | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,6 @@ class PhysicsGame: self.bridge = Bridge(self) self.bridge.create_world() - self.bridge.create_train() def run(self): self.running = True @@ -25,6 +25,7 @@ class Tool(object): elif event.type == KEYDOWN: if event.key == K_SPACE: #space pauses + self.game.bridge.create_train() self.game.world.run_physics = not self.game.world.run_physics elif event.key == K_t: self.game.bridge.create_train() |