MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / renderLightSources

Method renderLightSources

source/game/StarMonster.cpp:511–515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511void Monster::renderLightSources(RenderCallback* renderCallback) {
512 renderCallback->addLightSources(m_networkedAnimator.lightSources(position()));
513 renderCallback->addLightSources(m_statusController->lightSources());
514 renderCallback->addLightSources(m_scriptedAnimator.lightSources());
515}
516
517void Monster::setPosition(Vec2F const& pos) {
518 m_movementController->setPosition(pos);

Callers

nothing calls this directly

Calls 2

addLightSourcesMethod · 0.80
lightSourcesMethod · 0.45

Tested by

no test coverage detected