Mercurial > touhou
diff pytouhou/formats/std.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 | 70e2ed71b09c |
children | d18c0bf11138 |
line wrap: on
line diff
--- a/pytouhou/formats/std.py +++ b/pytouhou/formats/std.py @@ -27,7 +27,7 @@ from pytouhou.utils.helpers import read_ logger = get_logger(__name__) -class Model(object): +class Model: def __init__(self, unknown=0, bounding_box=None, quads=None): self.unknown = 0 self.bounding_box = bounding_box or (0., 0., 0., @@ -36,7 +36,7 @@ class Model(object): -class Stage(object): +class Stage: """Handle Touhou 6 Stage Definition files. Stage Definition files are structured files describing non-gameplay aspects