- Timestamp:
- Jul 23, 2008, 3:37:29 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/gui/src/orxonox/overlays/console/InGameConsole.h
r1641 r1642 46 46 { 47 47 public: // functions 48 InGameConsole(); 49 ~InGameConsole(); 50 48 51 void initialise(); 49 52 void destroy(); … … 52 55 void tick(float dt); 53 56 54 static InGameConsole& getInstance(); 57 static InGameConsole& getInstance() { assert(singletonRef_s); return *singletonRef_s; } 58 static InGameConsole* getInstancePtr() { return singletonRef_s; } 55 59 56 60 static void openConsole(); … … 58 62 59 63 private: // functions 60 InGameConsole();61 64 InGameConsole(const InGameConsole& other) {} 62 ~InGameConsole();63 65 64 66 void activate(); … … 107 109 float noiseSize_; 108 110 char cursorSymbol_; 111 112 static InGameConsole* singletonRef_s; 109 113 }; 110 114 }
Note: See TracChangeset
for help on using the changeset viewer.