Mercurial > touhou
comparison pytouhou/games/eosd/interface.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 | 244c99c568c8 |
children |
comparison
equal
deleted
inserted
replaced
614:2cf518129725 | 615:d1f0bb0b7a17 |
---|---|
14 | 14 |
15 from pytouhou.game.effect import Effect | 15 from pytouhou.game.effect import Effect |
16 from pytouhou.game.text import Text, Counter, Gauge, NativeText | 16 from pytouhou.game.text import Text, Counter, Gauge, NativeText |
17 | 17 |
18 | 18 |
19 class Interface(object): | 19 class Interface: |
20 width = 640 | 20 width = 640 |
21 height = 480 | 21 height = 480 |
22 game_pos = (32, 16) | 22 game_pos = (32, 16) |
23 | 23 |
24 def __init__(self, resource_loader, player_state): | 24 def __init__(self, resource_loader, player_state): |