diff pytouhou/game/game.pyx @ 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 4ccc47828002
children b16d34fca5b4
line wrap: on
line diff
--- a/pytouhou/game/game.pyx
+++ b/pytouhou/game/game.pyx
@@ -26,8 +26,7 @@ from pytouhou.game.face import Face
 cdef class Game:
     def __init__(self, players, long stage, long rank, long difficulty, bullet_types,
                  laser_types, item_types, long nb_bullets_max=0, long width=384,
-                 long height=448, prng=None, interface=None, double continues=0,
-                 hints=None):
+                 long height=448, prng=None, interface=None, hints=None):
         self.width, self.height = width, height
 
         self.nb_bullets_max = nb_bullets_max
@@ -50,7 +49,6 @@ cdef class Game:
         self.interface = interface
         self.hints = hints
 
-        self.continues = continues
         self.stage = stage
         self.rank = rank
         self.difficulty = difficulty