Mercurial > touhou
comparison pytouhou/games/eosd/game.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 | 2cf518129725 |
children | df6ae915ebaa |
comparison
equal
deleted
inserted
replaced
614:2cf518129725 | 615:d1f0bb0b7a17 |
---|---|
23 from pytouhou.game.background import Background | 23 from pytouhou.game.background import Background |
24 | 24 |
25 from pytouhou.vm import ECLMainRunner | 25 from pytouhou.vm import ECLMainRunner |
26 | 26 |
27 | 27 |
28 class Common(object): | 28 class Common: |
29 default_power = [0, 64, 128, 128, 128, 128, 0] | 29 default_power = [0, 64, 128, 128, 128, 128, 0] |
30 | 30 |
31 def __init__(self, resource_loader, player_characters, continues, *, | 31 def __init__(self, resource_loader, player_characters, continues, *, |
32 width=384, height=448): | 32 width=384, height=448): |
33 self.width, self.height = width, height | 33 self.width, self.height = width, height |