Changeset 1019 for code/branches/script/src/orxonox/core/Script.h
- Timestamp:
- Apr 10, 2008, 4:28:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/script/src/orxonox/core/Script.h
r999 r1019 21 21 { // tolua_export 22 22 public: 23 inline static Script* getInstance() { if (!Script::singletonRef) Script::singletonRef = new Script(); return Script::singletonRef; } 23 inline static Script* getInstance() { if (!Script::singletonRef) Script::singletonRef = new Script(); return Script::singletonRef; } // tolua_export 24 24 inline ~Script() { Script::singletonRef = NULL; }; 25 25
Note: See TracChangeset
for help on using the changeset viewer.