comparison pytouhou/game/game.pxd @ 516:577c3a88fb67

Merge the lists Game.texts and Game.native_texts into the Game.texts dict.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 11 May 2014 20:25:07 +0200
parents 292fea5c584e
children 7c3c90468996
comparison
equal deleted inserted replaced
515:b3193b43a86c 516:577c3a88fb67
3 from pytouhou.game.text cimport Text, NativeText 3 from pytouhou.game.text cimport Text, NativeText
4 from pytouhou.utils.random cimport Random 4 from pytouhou.utils.random cimport Random
5 5
6 cdef class Game: 6 cdef class Game:
7 cdef public long width, height, nb_bullets_max, stage, rank, difficulty, difficulty_min, difficulty_max, frame 7 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, texts, hints, bonus_list 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 object interface, boss, msg_runner, sfx_player 9 cdef public object interface, boss, msg_runner, sfx_player
10 cdef public dict texts
10 cdef public Random prng 11 cdef public Random prng
11 cdef public double continues 12 cdef public double continues
12 cdef public Effect spellcard_effect 13 cdef public Effect spellcard_effect
13 cdef public tuple spellcard 14 cdef public tuple spellcard
14 cdef public bint time_stop, msg_wait 15 cdef public bint time_stop, msg_wait