MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / ParticleSystem

Method ParticleSystem

Source/Graphics/particles.cpp:1293–1297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1291}
1292
1293ParticleSystem::ParticleSystem(const ASData& as_data) : script_context_("particle_system", as_data), last_id_created(0) {
1294 Path script_path = FindFilePath(script_dir_path + "particle_system.as", kModPaths | kDataPaths);
1295 as_funcs.update = script_context_.RegisterExpectedFunction("void Update()", false);
1296 script_context_.LoadScript(script_path);
1297}
1298
1299// Delete particles
1300void ParticleSystem::deleteParticle(unsigned int which) {

Callers

nothing calls this directly

Calls 3

FindFilePathFunction · 0.85
LoadScriptMethod · 0.80

Tested by

no test coverage detected