Mercurial > touhou
comparison pytouhou/game/player.py @ 265:0aab9b34299e
Use better defaults for player, and start the stage as if in practice mode.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 23 Jan 2012 02:04:13 +0100 |
parents | 77b83064b57e |
children | f037bca24f2d |
comparison
equal
deleted
inserted
replaced
264:3ac8b135592c | 265:0aab9b34299e |
---|---|
20 | 20 |
21 from math import pi | 21 from math import pi |
22 | 22 |
23 | 23 |
24 class PlayerState(object): | 24 class PlayerState(object): |
25 def __init__(self, character=0, score=0, power=0, lives=0, bombs=0): | 25 def __init__(self, character=0, score=0, power=0, lives=2, bombs=3): |
26 self.character = character # ReimuA/ReimuB/MarisaA/MarisaB/... | 26 self.character = character # ReimuA/ReimuB/MarisaA/MarisaB/... |
27 | 27 |
28 self.score = score | 28 self.score = score |
29 self.lives = lives | 29 self.lives = lives |
30 self.bombs = bombs | 30 self.bombs = bombs |