Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/physics.py
diff options
context:
space:
mode:
Diffstat (limited to 'physics.py')
-rw-r--r--physics.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/physics.py b/physics.py
index 8b827e8..6108a99 100644
--- a/physics.py
+++ b/physics.py
@@ -91,7 +91,11 @@ class PhysicsGame:
text = self.font.render("Train fell off the screen, try again!", True, (0,0,0))
textpos = text.get_rect(left=700,top=43)
self.screen.blit(text,textpos)
-
+ elif self.bridge.level_completed:
+ text = self.font.render("Level completed, well done!!", True, (0,0,0))
+ textpos = text.get_rect(left=700,top=43)
+ self.screen.blit(text,textpos)
+
# Flip Display
pygame.display.flip()