Mercurial > touhou
diff pytouhou/game/game.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 | 577c3a88fb67 |
children | a6af3ff86612 |
line wrap: on
line diff
--- a/pytouhou/game/game.pxd +++ b/pytouhou/game/game.pxd @@ -1,13 +1,15 @@ from pytouhou.game.effect cimport Effect from pytouhou.game.player cimport Player from pytouhou.game.text cimport Text, NativeText +from pytouhou.game.music cimport MusicPlayer from pytouhou.utils.random cimport Random cdef class Game: cdef public long width, height, nb_bullets_max, stage, rank, difficulty, difficulty_min, difficulty_max, frame cdef public list bullet_types, laser_types, item_types, players, enemies, effects, bullets, lasers, cancelled_bullets, players_bullets, players_lasers, items, labels, faces, hints, bonus_list - cdef public object interface, boss, msg_runner, sfx_player + cdef public object interface, boss, msg_runner cdef public dict texts + cdef public MusicPlayer sfx_player cdef public Random prng cdef public double continues cdef public Effect spellcard_effect