Changeset 94:fa8d8fc1bf5b


Ignore:
Timestamp:
Sep 2, 2009, 11:25:42 AM (11 years ago)
Author:
David Fraser <davidf@…>
Branch:
default
Convert:
svn:b4e93282-eac8-4b8b-b765-0f5d36de2b68@95
Message:

Added some sounds

Location:
gamelib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gamelib/engine.py

    r91 r94  
    66
    77import gameboard
     8import sound
    89
    910class Engine(Game):
     
    4748        self.game.gameboard.tv.sun(True)
    4849
     50        sound.play_sound("chicken5.ogg")
    4951        # disable timer
    5052        pygame.time.set_timer(MOVE_FOX_ID, 0)
  • gamelib/gameboard.py

    r92 r94  
    1212import animal
    1313import equipment
     14import sound
    1415
    1516class OpaqueLabel(gui.Label):
     
    195196            return
    196197        self.add_cash(constants.SELL_PRICE_CHICKEN)
     198        sound.play_sound("chicken4.ogg")
    197199        self.remove_chicken(chick)
    198200
Note: See TracChangeset for help on using the changeset viewer.