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

Method getEntity

source/game/StarWorldGeneration.cpp:642–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642EntityPtr SpawnerWorld::getEntity(EntityId entityId) const {
643 return m_worldServer->entity(entityId);
644}
645
646WorldGenerator::WorldGenerator(WorldServer* server) : m_worldServer(server) {
647 m_microDungeonFactory = make_shared<MicroDungeonFactory>();

Callers 1

updateMethod · 0.80

Calls 1

entityMethod · 0.45

Tested by

no test coverage detected