Ignore:
Timestamp:
09/07/13 21:28:20 (8 years ago)
Author:
Jeremy Thurgood <firxen@…>
Branch:
default
Phase:
public
Message:

Door sound.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/game_object.py

    r585 r591  
    1515from nagslang.resources import resources
    1616from nagslang.events import DoorEvent
     17from nagslang.sound import sound
    1718
    1819
     
    405406
    406407    def door_opened(self):
    407         pass
     408        sound.play_sound('robotstep2.ogg')
    408409
    409410
     
    469470    def door_opened(self):
    470471        self._stored_state['is_open'] = True
     472        super(PuzzleDoor, self).door_opened()
    471473
    472474    def set_stored_state_dict(self, stored_state):
Note: See TracChangeset for help on using the changeset viewer.