diff pytouhou/games/eosd.py @ 465:5f5955635d2c

Move continues to PlayerState, and make sure they aren’t reinitialized before each stage.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 11 Sep 2013 16:03:55 +0200
parents cae1ae9de430
children 98995d8ac744
line wrap: on
line diff
--- a/pytouhou/games/eosd.py
+++ b/pytouhou/games/eosd.py
@@ -82,7 +82,7 @@ class EoSDCommon(object):
 class EoSDGame(Game):
     def __init__(self, resource_loader, player_states, stage, rank, difficulty,
                  common, nb_bullets_max=640, width=384, height=448, prng=None,
-                 continues=0, hints=None):
+                 hints=None):
 
         self.etama = common.etama #XXX
         try:
@@ -124,7 +124,7 @@ class EoSDGame(Game):
         Game.__init__(self, players, stage, rank, difficulty,
                       common.bullet_types, common.laser_types,
                       common.item_types, nb_bullets_max, width, height, prng,
-                      common.interface, continues, hints)
+                      common.interface, hints)