comparison pytouhou/game/player.pyx @ 577:e35a083d4208

Move NextStage outside of pytouhou.vm.msg, to be able to use it from anywhere without dependency on EoSD.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 06 Aug 2014 10:50:19 +0200
parents 94229756abd9
children e15672733c93
comparison
equal deleted inserted replaced
576:f3778145d7e7 577:e35a083d4208
18 from pytouhou.vm import ANMRunner 18 from pytouhou.vm import ANMRunner
19 from pytouhou.game.bullettype cimport BulletType 19 from pytouhou.game.bullettype cimport BulletType
20 from pytouhou.game.bullet cimport Bullet 20 from pytouhou.game.bullet cimport Bullet
21 from pytouhou.game.lasertype cimport LaserType 21 from pytouhou.game.lasertype cimport LaserType
22 from pytouhou.game.laser cimport PlayerLaser 22 from pytouhou.game.laser cimport PlayerLaser
23 23 from pytouhou.game import GameOver
24
25 class GameOver(Exception):
26 pass
27 24
28 25
29 cdef class Player(Element): 26 cdef class Player(Element):
30 def __init__(self, long number, anm, long character=0, long power=0, 27 def __init__(self, long number, anm, long character=0, long power=0,
31 long continues=0, long lives=2, long bombs=3, long score=0): 28 long continues=0, long lives=2, long bombs=3, long score=0):