projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a REAL em dash
[naja.git]
/
naja
/
engine.py
diff --git
a/naja/engine.py
b/naja/engine.py
index d7e0caf62539de966abae6746adc66bb9ad7f4ff..2642feb3481de6407b63ebb02cd58b0a3691afd2 100644
(file)
--- a/
naja/engine.py
+++ b/
naja/engine.py
@@
-3,6
+3,7
@@
import pygame.locals as pgl
from naja.constants import FPS
from naja.events import SceneChangeEvent, QuitGameEvent, LoadGameEvent
from naja.constants import FPS
from naja.events import SceneChangeEvent, QuitGameEvent, LoadGameEvent
+from naja.sound import sound
class Engine(object):
class Engine(object):
@@
-36,4
+37,5
@@
class Engine(object):
def quit_game(self):
self._scene.exit()
def quit_game(self):
self._scene.exit()
+ sound.play_sound('shutdown.ogg', foreground=True)
self._scene = None
self._scene = None