comparison pytouhou/formats/t6rp.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 d8aab27a2ab2
children
comparison
equal deleted inserted replaced
614:2cf518129725 615:d1f0bb0b7a17
28 from pytouhou.formats import ChecksumError 28 from pytouhou.formats import ChecksumError
29 29
30 logger = get_logger(__name__) 30 logger = get_logger(__name__)
31 31
32 32
33 class Level(object): 33 class Level:
34 def __init__(self): 34 def __init__(self):
35 self.score = 0 35 self.score = 0
36 self.random_seed = 0 36 self.random_seed = 0
37 self.point_items = 0 37 self.point_items = 0
38 38
53 counter += 1 53 counter += 1
54 previous = keystate 54 previous = keystate
55 55
56 56
57 57
58 class T6RP(object): 58 class T6RP:
59 def __init__(self): 59 def __init__(self):
60 self.version = 0x102 60 self.version = 0x102
61 self.character = 0 61 self.character = 0
62 self.rank = 0 62 self.rank = 0
63 self.unknown1 = 0 63 self.unknown1 = 0