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

Method displayHealthOverlay

source/render/CreatureOverlayStatus.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void CreatureOverlayStatus::displayHealthOverlay(Ogre::Real timeToDisplay)
75{
76 uint32_t healthId = mOverlayIds[static_cast<uint32_t>(CreatureOverlays::health)];
77 mMovableTextOverlay->displayOverlay(healthId, timeToDisplay);
78}
79
80void CreatureOverlayStatus::updateHealth()
81{

Calls 1

displayOverlayMethod · 0.80

Tested by

no test coverage detected