MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / refreshPlayerGoals

Method refreshPlayerGoals

source/modes/GameMode.cpp:995–999  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

993}
994
995void GameMode::refreshPlayerGoals(const std::string& goalsDisplayString)
996{
997 CEGUI::Window* widget = mRootWindow->getChild(Gui::OBJECTIVE_TEXT);
998 widget->setText(reinterpret_cast<const CEGUI::utf8*>(goalsDisplayString.c_str()));
999}
1000
1001bool GameMode::keyReleased(const OIS::KeyEvent &arg)
1002{

Callers 1

refreshMainUIMethod · 0.80

Calls 1

setTextMethod · 0.80

Tested by

no test coverage detected