comparison pytouhou/game/lasertype.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 c9433188ffdb
children
comparison
equal deleted inserted replaced
614:2cf518129725 615:d1f0bb0b7a17
1 class LaserType(object): 1 class LaserType:
2 def __init__(self, anm, anim_index, 2 def __init__(self, anm, anim_index,
3 launch_sprite_idx=140, 3 launch_sprite_idx=140,
4 launch_anim_offsets=(0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 0)): 4 launch_anim_offsets=(0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 0)):
5 self.anm = anm 5 self.anm = anm
6 self.anim_index = anim_index 6 self.anim_index = anim_index