Mercurial > touhou
comparison pytouhou/game/bullettype.py @ 615:d1f0bb0b7a17
Don’t inherit explicitely from object, we are not on Python 2.7 anymore. :)
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 28 Mar 2015 21:40:51 +0100 |
parents | e15672733c93 |
children |
comparison
equal
deleted
inserted
replaced
614:2cf518129725 | 615:d1f0bb0b7a17 |
---|---|
1 class BulletType(object): | 1 class BulletType: |
2 def __init__(self, anm, anim_index, cancel_anim_index, | 2 def __init__(self, anm, anim_index, cancel_anim_index, |
3 launch_anim2_index, launch_anim4_index, launch_anim8_index, | 3 launch_anim2_index, launch_anim4_index, launch_anim8_index, |
4 hitbox_size, | 4 hitbox_size, |
5 launch_anim_penalties=(0.5, 0.4, 1./3.), | 5 launch_anim_penalties=(0.5, 0.4, 1./3.), |
6 launch_anim_offsets=(0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 0), | 6 launch_anim_offsets=(0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 0), |