comparison pytouhou/game/background.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 e35bef07290d
children
comparison
equal deleted inserted replaced
614:2cf518129725 615:d1f0bb0b7a17
16 from pytouhou.utils.interpolator import Interpolator 16 from pytouhou.utils.interpolator import Interpolator
17 from pytouhou.vm import ANMRunner 17 from pytouhou.vm import ANMRunner
18 from pytouhou.game.sprite import Sprite 18 from pytouhou.game.sprite import Sprite
19 19
20 20
21 class Background(object): 21 class Background:
22 def __init__(self, stage, anm): 22 def __init__(self, stage, anm):
23 self.stage = stage 23 self.stage = stage
24 self.anm = anm 24 self.anm = anm
25 self.last_frame = -1 25 self.last_frame = -1
26 26