diff 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
line wrap: on
line diff
--- a/pytouhou/game/player.py
+++ b/pytouhou/game/player.py
@@ -22,7 +22,7 @@ from math import pi
 
 
 class PlayerState(object):
-    def __init__(self, character=0, score=0, power=0, lives=0, bombs=0):
+    def __init__(self, character=0, score=0, power=0, lives=2, bombs=3):
         self.character = character # ReimuA/ReimuB/MarisaA/MarisaB/...
 
         self.score = score