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

Method displayText

source/modes/GameMode.cpp:1665–1670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1663}
1664
1665void GameMode::displayText(const Ogre::ColourValue& txtColour, const std::string& txt)
1666{
1667 TextRenderer& textRenderer = TextRenderer::getSingleton();
1668 textRenderer.setColor(ODApplication::POINTER_INFO_STRING, txtColour);
1669 textRenderer.setText(ODApplication::POINTER_INFO_STRING, txt);
1670}
1671
1672void GameMode::checkInputCommand()
1673{

Callers 15

checkSpellCastMethod · 0.45
checkSpellCastMethod · 0.45
checkSpellCastMethod · 0.45
checkSpellCastMethod · 0.45
checkSpellCastMethod · 0.45
checkSpellCastMethod · 0.45
checkSpellCastMethod · 0.45
checkSpellCastMethod · 0.45
checkSpellCastMethod · 0.45
checkSpellCastMethod · 0.45
checkSpellCastMethod · 0.45
checkBuildTrapMethod · 0.45

Calls 2

setColorMethod · 0.80
setTextMethod · 0.80

Tested by

no test coverage detected