Changeset 2909 for code/trunk/src/orxonox/gamestates
- Timestamp:
- Apr 8, 2009, 1:07:27 AM (16 years ago)
- Location:
- code/trunk/src/orxonox/gamestates
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/gamestates/GSLevel.cc
r2896 r2909 50 50 #include "LevelManager.h" 51 51 #include "PlayerManager.h" 52 #include "orxonox/objects/quest/QuestManager.h" 53 #include "orxonox/overlays/notifications/NotificationManager.h" 52 54 #include "gui/GUIManager.h" 53 55 … … 110 112 111 113 this->playerManager_ = new PlayerManager(); 114 115 this->questManager_ = new QuestManager(); 116 117 this->notificationManager_ = new NotificationManager(); 112 118 113 119 if (GameMode::isMaster()) … … 203 209 delete this->playerManager_; 204 210 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; 205 223 } 206 224 -
code/trunk/src/orxonox/gamestates/GSLevel.h
r2896 r2909 67 67 LevelManager* levelManager_; //!< global level manager 68 68 PlayerManager* playerManager_; //!< player manager for this level 69 QuestManager* questManager_; //!< quest manager for this level 70 NotificationManager* notificationManager_; //!< notification manager for this level 69 71 70 72 //##### ConfigValues #####
Note: See TracChangeset
for help on using the changeset viewer.