diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-09-25 20:30:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-09-25 20:30:15 +0400 |
commit | aa989c1e8343cb761665129d44e03a4fc4c7cd95 (patch) | |
tree | bc7af2fbee186fb0d1ea563b8d43e79f5af30f0a /source/gameengine/GameLogic/SCA_EventManager.cpp | |
parent | 9f6566c0a57ae136a819a461c43092a998c69f77 (diff) |
almost all event managers stored a pointer back to the logic manager, easier if this pointer is in the base class - SCA_EventManager
Diffstat (limited to 'source/gameengine/GameLogic/SCA_EventManager.cpp')
-rw-r--r-- | source/gameengine/GameLogic/SCA_EventManager.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/gameengine/GameLogic/SCA_EventManager.cpp b/source/gameengine/GameLogic/SCA_EventManager.cpp index d1301541a0a..5b6f3c46022 100644 --- a/source/gameengine/GameLogic/SCA_EventManager.cpp +++ b/source/gameengine/GameLogic/SCA_EventManager.cpp @@ -35,8 +35,9 @@ #endif -SCA_EventManager::SCA_EventManager(EVENT_MANAGER_TYPE mgrtype) - :m_mgrtype(mgrtype) +SCA_EventManager::SCA_EventManager(SCA_LogicManager* logicmgr, EVENT_MANAGER_TYPE mgrtype) + :m_logicmgr(logicmgr), + m_mgrtype(mgrtype) { } |