Changeset 6072 for code/branches/sound3/src/orxonox/MoodManager.cc
- Timestamp:
- Nov 15, 2009, 10:40:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/sound3/src/orxonox/MoodManager.cc
r6031 r6072 44 44 moodOld_ = "default"; 45 45 this->setConfigValues(); 46 46 CommandExecutor::addConsoleCommandShortcut(createConsoleCommand(createFunctor(&MoodManager::setMood, this), "setMood")); 47 47 } 48 48 … … 58 58 } 59 59 60 60 /** 61 61 * Sets the mood 62 62 * @note TODO: Inform dependent classes of mood change 63 63 */ 64 void MoodManager::setMood(const std::string& mood) { 65 ModifyConfigValue(mood_, set, mood); 66 } 67 68 // gets the current mood 69 const std::string& MoodManager::getMood() { 70 return mood_; 71 } 64 void MoodManager::setMood(const std::string& mood) 65 { 66 ModifyConfigValue(mood_, set, mood); 67 } 68 69 // gets the current mood 70 const std::string& MoodManager::getMood() 71 { 72 return mood_; 73 } 72 74 73 75 void MoodManager::checkMoodValidity()
Note: See TracChangeset
for help on using the changeset viewer.