comparison pytouhou/vm/msgrunner.py @ 341:61caded6b4f5

Clean music playback API a little.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 04 Jul 2012 23:05:21 +0200
parents 72ef7e24b373
children 69ec72b990a4
comparison
equal deleted inserted replaced
340:39bc59953dfa 341:61caded6b4f5
134 self._game.msg_wait = False 134 self._game.msg_wait = False
135 135
136 136
137 @instruction(7) 137 @instruction(7)
138 def change_music(self, track): 138 def change_music(self, track):
139 self._game.change_music(track) 139 self._game.music.play(track)
140 140
141 141
142 @instruction(10) 142 @instruction(10)
143 def freeze(self): 143 def freeze(self):
144 self.frozen = True 144 self.frozen = True