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

Method update

source/render/CreatureOverlayStatus.cpp:179–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179void CreatureOverlayStatus::update(Ogre::Real timeSincelastFrame)
180{
181 // If the creature is not on map, we do not display the overlays
182 mMovableTextOverlay->setVisible(mCreature->getIsOnMap());
183
184 updateHealth();
185 updateStatus(timeSincelastFrame);
186
187 mMovableTextOverlay->update(timeSincelastFrame);
188}

Callers

nothing calls this directly

Calls 2

setVisibleMethod · 0.80
getIsOnMapMethod · 0.80

Tested by

no test coverage detected