Mercurial > touhou
comparison pytouhou/game/enemymanager.py @ 67:e2cb9d434dc2
Add support for a few opcodes.
author | Thibaut Girka <thib@sitedethib.com> |
---|---|
date | Fri, 26 Aug 2011 22:43:10 +0200 |
parents | 1f591adcea04 |
children | a2459defd4b6 |
comparison
equal
deleted
inserted
replaced
66:a701a89192a9 | 67:e2cb9d434dc2 |
---|---|
35 self.frame = 0 | 35 self.frame = 0 |
36 | 36 |
37 self.x, self.y = pos | 37 self.x, self.y = pos |
38 self.life = life | 38 self.life = life |
39 self.max_life = life | 39 self.max_life = life |
40 self.touchable = True | |
41 self.damageable = True | |
42 self.death_flags = 0 | |
40 self.pending_bullets = [] | 43 self.pending_bullets = [] |
41 self.bullet_attributes = None | 44 self.bullet_attributes = None |
42 self.bullet_launch_offset = (0, 0) | 45 self.bullet_launch_offset = (0, 0) |
43 self.vulnerable = True | |
44 self.death_callback = None | 46 self.death_callback = None |
45 self.low_life_callback = None | 47 self.low_life_callback = None |
46 self.low_life_trigger = None | 48 self.low_life_trigger = None |
47 self.timeout = None | 49 self.timeout = None |
50 self.timeout_callback = None | |
48 self.remaining_lives = -1 | 51 self.remaining_lives = -1 |
49 | 52 |
50 self.bullet_launch_interval = 0 | 53 self.bullet_launch_interval = 0 |
51 self.delay_attack = False | 54 self.delay_attack = False |
52 | 55 |