diff pytouhou/game/music.pxd @ 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
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/pytouhou/game/music.pxd
@@ -0,0 +1,3 @@
+cdef class MusicPlayer:
+    cpdef play(self, name)
+    cpdef set_volume(self, name, float volume)