view pytouhou/game/music.py @ 528:7c3c90468996

Inherit music players from a base class.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 18 Dec 2013 22:36:23 +0100
parents
children d1f0bb0b7a17
line wrap: on
line source

class MusicPlayer(object):
    def play(self, name):
        pass

    def set_volume(self, name, volume):
        pass