| 1291 | } |
| 1292 | |
| 1293 | ParticleSystem::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 |
| 1300 | void ParticleSystem::deleteParticle(unsigned int which) { |
nothing calls this directly
no test coverage detected