Changeset 2910 for code/trunk/src/orxonox/gamestates
- Timestamp:
- Apr 8, 2009, 1:36:05 AM (16 years ago)
- Location:
- code/trunk/src/orxonox/gamestates
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gamestates/GSLevel.cc
r2909 r2910 50 50 #include "LevelManager.h" 51 51 #include "PlayerManager.h" 52 #include "orxonox/objects/quest/QuestManager.h"53 #include "orxonox/overlays/notifications/NotificationManager.h"54 52 #include "gui/GUIManager.h" 55 53 … … 112 110 113 111 this->playerManager_ = new PlayerManager(); 114 115 this->questManager_ = new QuestManager();116 117 this->notificationManager_ = new NotificationManager();118 112 119 113 if (GameMode::isMaster()) … … 209 203 delete this->playerManager_; 210 204 this->playerManager_ = 0; 211 }212 213 if (this->questManager_)214 {215 delete this->questManager_;216 this->questManager_ = NULL;217 }218 219 if (this->notificationManager_)220 {221 delete this->notificationManager_;222 this->notificationManager_ = NULL;223 205 } 224 206 -
code/trunk/src/orxonox/gamestates/GSLevel.h
r2909 r2910 67 67 LevelManager* levelManager_; //!< global level manager 68 68 PlayerManager* playerManager_; //!< player manager for this level 69 QuestManager* questManager_; //!< quest manager for this level70 NotificationManager* notificationManager_; //!< notification manager for this level71 69 72 70 //##### ConfigValues #####
Note: See TracChangeset
for help on using the changeset viewer.