Mercurial > parpg-source
comparison controllerbase.py @ 189:4381be70e1bb tip
Fixed incompatibility with latest changes to bgrease.
author | Beliar <KarstenBock@gmx.net> |
---|---|
date | Sun, 08 Apr 2012 20:30:43 +0200 |
parents | 2a12e2843984 |
children |
comparison
equal
deleted
inserted
replaced
188:2a12e2843984 | 189:4381be70e1bb |
---|---|
40 @type settings: fife.extensions.fife_settings.Setting | 40 @type settings: fife.extensions.fife_settings.Setting |
41 ''' | 41 ''' |
42 KeyListener.__init__(self, application.event_listener) | 42 KeyListener.__init__(self, application.event_listener) |
43 MouseListener.__init__(self, application.event_listener) | 43 MouseListener.__init__(self, application.event_listener) |
44 CommandListener.__init__(self, application.event_listener) | 44 CommandListener.__init__(self, application.event_listener) |
45 Mode.__init__(self) | 45 Mode.__init__(self, engine) |
46 self.engine = engine | |
47 self.event_manager = engine.getEventManager() | 46 self.event_manager = engine.getEventManager() |
48 self.view = view | 47 self.view = view |
49 self.model = model | 48 self.model = model |
50 self.application = application | 49 self.application = application |
51 | 50 |