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

Method dead

source/game/StarParticle.cpp:188–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188bool Particle::dead() const {
189 return timeToLive < -destructionTime;
190}
191
192void Particle::applyVariance(Particle const& variance) {
193 size += variance.size * Random::randf(-1.0f, 1.0f);

Callers 5

damageTilesMethod · 0.45
damageTilesMethod · 0.45
updateDamagedBlocksMethod · 0.45
damageTilesMethod · 0.45
updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected