Changeset 5850 for code/branches/core5/src/orxonox/LevelManager.h
- Timestamp:
- Oct 1, 2009, 11:44:53 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/orxonox/LevelManager.h
r3370 r5850 36 36 #include <string> 37 37 38 #include "util/S ingleton.h"38 #include "util/ScopedSingleton.h" 39 39 #include "core/OrxonoxClass.h" 40 40 … … 44 44 class _OrxonoxExport LevelManager 45 45 // tolua_end 46 : public S ingleton<LevelManager>, public OrxonoxClass46 : public ScopedSingleton<LevelManager, ScopeID::Root>, public OrxonoxClass 47 47 { // tolua_export 48 friend class S ingleton<LevelManager>;48 friend class ScopedSingleton<LevelManager, ScopeID::Root>; 49 49 public: 50 50 LevelManager(); … … 63 63 64 64 static LevelManager* getInstancePtr() { return singletonPtr_s; } 65 static LevelManager& getInstance() { return S ingleton<LevelManager>::getInstance(); } // tolua_export65 static LevelManager& getInstance() { return ScopedSingleton<LevelManager, ScopeID::Root>::getInstance(); } // tolua_export 66 66 67 67 private:
Note: See TracChangeset
for help on using the changeset viewer.