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

Method lightSources

source/game/StarMonster.cpp:428–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428List<LightSource> Monster::lightSources() const {
429 auto lightSources = m_networkedAnimator.lightSources(position());
430 lightSources.appendAll(m_statusController->lightSources());
431 return lightSources;
432}
433
434void Monster::hitOther(EntityId targetEntityId, DamageRequest const& damageRequest) {
435 if (inWorld() && isMaster())

Callers 1

renderLightSourcesMethod · 0.45

Calls 1

appendAllMethod · 0.80

Tested by

no test coverage detected