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

Method uninit

source/game/StarSpawner.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void Spawner::uninit() {
48 for (auto entityId : m_spawnedEntities)
49 m_facade->despawnEntity(entityId);
50 m_facade.reset();
51}
52
53bool Spawner::active() const {
54 return m_active;

Callers

nothing calls this directly

Calls 2

despawnEntityMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected