Changeset 6199
- Timestamp:
- Dec 2, 2009, 3:12:29 PM (15 years ago)
- Location:
- code/branches/presentation2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/data/gui/scripts/InitialiseGUI.lua
r6176 r6199 84 84 if nrOfActiveSheets == 0 then 85 85 orxonox.InputManager:getInstance():enterState("guiMouseOnly") 86 orxonox.HumanController:pauseControl() 86 87 end 87 88 end … … 157 158 if nrOfActiveSheets == 0 then 158 159 orxonox.InputManager:getInstance():leaveState("guiMouseOnly") 160 orxonox.HumanController:resumeControl() 159 161 hideCursor() 160 162 end -
code/branches/presentation2/src/orxonox/CMakeLists.txt
r6184 r6199 57 57 LevelManager.h 58 58 MoodManager.h 59 controllers/HumanController.h 59 60 pickup/BaseItem.h 60 61 pickup/PickupInventory.h -
code/branches/presentation2/src/orxonox/controllers/HumanController.h
r6195 r6199 35 35 #include "Controller.h" 36 36 37 // tolua_begin 37 38 namespace orxonox 38 39 { 39 class _OrxonoxExport HumanController : public Controller, public Tickable 40 { 40 class _OrxonoxExport HumanController 41 // tolua_end 42 : public Controller, public Tickable 43 { // tolua_export 41 44 public: 42 45 HumanController(BaseObject* creator); … … 75 78 static void killBots(unsigned int amount = 0); 76 79 77 static void pauseControl(); 78 static void resumeControl(); 80 static void pauseControl(); // tolua_export 81 static void resumeControl(); // tolua_export 79 82 virtual void doPauseControl() {}; 80 83 virtual void doResumeControl() {}; … … 89 92 static HumanController* localController_s; 90 93 bool controlPaused_; 91 }; 92 } 94 }; // tolua_export 95 } // tolua_export 93 96 94 97 #endif /* _HumanController_H__ */
Note: See TracChangeset
for help on using the changeset viewer.