Mercurial > pyntnclick
comparison gamelib/scenes/manual.py @ 636:2748d3afcae5 pyntnclick
Excise albow. Really.
author | Stefano Rivera <stefano@rivera.za.net> |
---|---|
date | Sun, 12 Feb 2012 00:10:17 +0200 |
parents | 3ce19d33b51f |
children | 9a61cf88e6e8 |
comparison
equal
deleted
inserted
replaced
635:d9623d453fd9 | 636:2748d3afcae5 |
---|---|
1 """The inside of the maintenance manual.""" | 1 """The inside of the maintenance manual.""" |
2 | |
3 from albow.music import change_playlist | |
4 | 2 |
5 from pyntnclick.state import Scene, Thing | 3 from pyntnclick.state import Scene, Thing |
6 from pyntnclick.scenewidgets import InteractNoImage, InteractImage | 4 from pyntnclick.scenewidgets import InteractNoImage, InteractImage |
7 | 5 |
8 | 6 |
111 self.add_thing(PageNext()) | 109 self.add_thing(PageNext()) |
112 self._scene_playlist = None | 110 self._scene_playlist = None |
113 | 111 |
114 def enter(self): | 112 def enter(self): |
115 self._scene_playlist = self.sound.get_current_playlist() | 113 self._scene_playlist = self.sound.get_current_playlist() |
116 change_playlist(None) | 114 self.sound.change_playlist(None) |
117 | 115 |
118 def leave(self): | 116 def leave(self): |
119 change_playlist(self._scene_playlist) | 117 self.sound.change_playlist(self._scene_playlist) |
120 | 118 |
121 | 119 |
122 SCENES = [] | 120 SCENES = [] |
123 DETAIL_VIEWS = [ManualDetail] | 121 DETAIL_VIEWS = [ManualDetail] |