comparison pytouhou/game/element.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 b9d2db93972f
children
comparison
equal deleted inserted replaced
614:2cf518129725 615:d1f0bb0b7a17
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of 10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ## GNU General Public License for more details. 12 ## GNU General Public License for more details.
13 ## 13 ##
14 14
15 class Element(object): 15 class Element:
16 def __init__(self, pos=None): 16 def __init__(self, pos=None):
17 self.sprite = None 17 self.sprite = None
18 self.anmrunner = None 18 self.anmrunner = None
19 self.removed = False 19 self.removed = False
20 self.objects = [self] 20 self.objects = [self]