diff gamelib/gameboard.py @ 94:fa8d8fc1bf5b

Added some sounds
author David Fraser <davidf@sjsoft.com>
date Wed, 02 Sep 2009 11:25:42 +0000
parents bea1b9364583
children a851461d345e
line wrap: on
line diff
--- a/gamelib/gameboard.py	Wed Sep 02 11:19:18 2009 +0000
+++ b/gamelib/gameboard.py	Wed Sep 02 11:25:42 2009 +0000
@@ -11,6 +11,7 @@
 import buildings
 import animal
 import equipment
+import sound
 
 class OpaqueLabel(gui.Label):
     def paint(self, s):
@@ -194,6 +195,7 @@
             print "You can't sell your last chicken!"
             return
         self.add_cash(constants.SELL_PRICE_CHICKEN)
+        sound.play_sound("chicken4.ogg")
         self.remove_chicken(chick)
 
     def buy_fence(self, tile_pos):