comparison nagslang/game_object.py @ 209:ad1d3de210cd

Drop compatibility imports, and allow an optional module on classnames
author Stefano Rivera <stefano@rivera.za.net>
date Tue, 03 Sep 2013 23:45:56 +0200
parents 3d54fe7a2998
children 434b5a3aaaff
comparison
equal deleted inserted replaced
208:3d54fe7a2998 209:ad1d3de210cd
7 SWITCH_PUSHERS, COLLISION_TYPE_SWITCH, COLLISION_TYPE_BOX, ZORDER_LOW, 7 SWITCH_PUSHERS, COLLISION_TYPE_SWITCH, COLLISION_TYPE_BOX, ZORDER_LOW,
8 ZORDER_FLOOR, COLLISION_TYPE_DOOR) 8 ZORDER_FLOOR, COLLISION_TYPE_DOOR)
9 from nagslang.resources import resources 9 from nagslang.resources import resources
10 from nagslang.events import DoorEvent 10 from nagslang.events import DoorEvent
11 from nagslang.widgets.text import LabelWidget 11 from nagslang.widgets.text import LabelWidget
12
13
14 # For levels to import, until we get module names in 'classname'
15 StateProxyPuzzler = puzzle.StateProxyPuzzler
16 StateLogicalAndPuzzler = puzzle.StateLogicalAndPuzzler
17 CollidePuzzler = puzzle.CollidePuzzler
18 12
19 13
20 class Physicser(object): 14 class Physicser(object):
21 def __init__(self, space): 15 def __init__(self, space):
22 self._space = space 16 self._space = space