comparison 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
comparison
equal deleted inserted replaced
527:db28538cd399 528:7c3c90468996
1 from pytouhou.game.effect cimport Effect 1 from pytouhou.game.effect cimport Effect
2 from pytouhou.game.player cimport Player 2 from pytouhou.game.player cimport Player
3 from pytouhou.game.text cimport Text, NativeText 3 from pytouhou.game.text cimport Text, NativeText
4 from pytouhou.game.music cimport MusicPlayer
4 from pytouhou.utils.random cimport Random 5 from pytouhou.utils.random cimport Random
5 6
6 cdef class Game: 7 cdef class Game:
7 cdef public long width, height, nb_bullets_max, stage, rank, difficulty, difficulty_min, difficulty_max, frame 8 cdef public long width, height, nb_bullets_max, stage, rank, difficulty, difficulty_min, difficulty_max, frame
8 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 9 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
9 cdef public object interface, boss, msg_runner, sfx_player 10 cdef public object interface, boss, msg_runner
10 cdef public dict texts 11 cdef public dict texts
12 cdef public MusicPlayer sfx_player
11 cdef public Random prng 13 cdef public Random prng
12 cdef public double continues 14 cdef public double continues
13 cdef public Effect spellcard_effect 15 cdef public Effect spellcard_effect
14 cdef public tuple spellcard 16 cdef public tuple spellcard
15 cdef public bint time_stop, msg_wait 17 cdef public bint time_stop, msg_wait