Mercurial > touhou
comparison pytouhou/vm/msgrunner.py @ 321:61adb5453e46
Implement music playback.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 13 Jun 2012 15:29:43 +0200 |
parents | 4838e9bab0f9 |
children | 1b4f04b08729 |
comparison
equal
deleted
inserted
replaced
320:1a4ffdda8735 | 321:61adb5453e46 |
---|---|
126 @instruction(6) | 126 @instruction(6) |
127 def spawn_enemy_sprite(self): | 127 def spawn_enemy_sprite(self): |
128 self._game.msg_wait = False | 128 self._game.msg_wait = False |
129 | 129 |
130 | 130 |
131 @instruction(7) | |
132 def change_music(self, track): | |
133 self._game.change_music(track) | |
134 | |
135 | |
131 @instruction(10) | 136 @instruction(10) |
132 def freeze(self): | 137 def freeze(self): |
133 self.frozen = True | 138 self.frozen = True |
134 | 139 |
135 | 140 |