comparison pytouhou/games/eosd.py @ 304:f3099ebf4f61

Update attribute names to reflect the actual interface.
author Thibaut Girka <thib@sitedethib.com>
date Tue, 13 Mar 2012 18:38:14 +0100
parents 647bde10353d
children 5492472963b0
comparison
equal deleted inserted replaced
303:647bde10353d 304:f3099ebf4f61
107 [Effect((32 + 32 * i, 0), 7, front) for i in range(12)] + 107 [Effect((32 + 32 * i, 0), 7, front) for i in range(12)] +
108 [Effect((32 + 32 * i, 464), 8, front) for i in range(12)] + 108 [Effect((32 + 32 * i, 464), 8, front) for i in range(12)] +
109 [Effect((0, 0), 5, front)] + 109 [Effect((0, 0), 5, front)] +
110 [Effect((0, 0), i, front) for i in range(5) + range(9, 16)]) 110 [Effect((0, 0), i, front) for i in range(5) + range(9, 16)])
111 for item in self.items: 111 for item in self.items:
112 item._sprite.allow_dest_offset = True #XXX 112 item.sprite.allow_dest_offset = True #XXX
113 113
114 self.labels = { 114 self.labels = {
115 'highscore': Text((500, 58), '0', front, ascii_wrapper), 115 'highscore': Text((500, 58), '0', front, ascii_wrapper),
116 'score': Text((500, 82), '0', front, ascii_wrapper), 116 'score': Text((500, 82), '0', front, ascii_wrapper),
117 'player': Text((500, 122), 'star star', front, ascii_wrapper), 117 'player': Text((500, 122), 'star star', front, ascii_wrapper),