Mercurial > touhou
comparison pytouhou/formats/exe.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 | e15672733c93 |
children |
comparison
equal
deleted
inserted
replaced
614:2cf518129725 | 615:d1f0bb0b7a17 |
---|---|
28 | 28 |
29 class InvalidExeException(Exception): | 29 class InvalidExeException(Exception): |
30 pass | 30 pass |
31 | 31 |
32 | 32 |
33 class Shot(object): | 33 class Shot: |
34 def __init__(self): | 34 def __init__(self): |
35 self.interval = 0 | 35 self.interval = 0 |
36 self.delay = 0 | 36 self.delay = 0 |
37 self.pos = (0., 0.) | 37 self.pos = (0., 0.) |
38 self.hitbox = (0., 0.) | 38 self.hitbox = (0., 0.) |
43 self.type = 0 | 43 self.type = 0 |
44 self.sprite = 0 | 44 self.sprite = 0 |
45 self.unknown1 = None | 45 self.unknown1 = None |
46 | 46 |
47 | 47 |
48 class SHT(object): | 48 class SHT: |
49 def __init__(self): | 49 def __init__(self): |
50 #self.unknown1 = None | 50 #self.unknown1 = None |
51 #self.bombs = 0. | 51 #self.bombs = 0. |
52 #self.unknown2 = None | 52 #self.unknown2 = None |
53 self.hitbox = 2. | 53 self.hitbox = 2. |