Mercurial > pyntnclick
comparison gamelib/state.py @ 518:3e91c82c2240
Removed superfluous SIZE attribute on Scene.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Tue, 07 Sep 2010 17:05:51 +0200 |
parents | 26f9b4d10e3e |
children | 8f3c82c685a4 |
comparison
equal
deleted
inserted
replaced
517:26f9b4d10e3e | 518:3e91c82c2240 |
---|---|
245 NAME = None | 245 NAME = None |
246 | 246 |
247 # Offset of the background image | 247 # Offset of the background image |
248 OFFSET = (0, 0) | 248 OFFSET = (0, 0) |
249 | 249 |
250 # size (for detail views) | |
251 SIZE = constants.SCENE_SIZE | |
252 | |
253 def __init__(self, state): | 250 def __init__(self, state): |
254 StatefulGizmo.__init__(self) | 251 StatefulGizmo.__init__(self) |
255 # scene name | 252 # scene name |
256 self.name = self.NAME if self.NAME is not None else self.FOLDER | 253 self.name = self.NAME if self.NAME is not None else self.FOLDER |
257 # link back to state object | 254 # link back to state object |