@adatechnology/game-destruction-three 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2401,6 +2401,14 @@ var Renderer = class {
2401
2401
  this.sound("ignite", ev.point, 0.7);
2402
2402
  this.sound("burn_loop", ev.point, 0.5);
2403
2403
  break;
2404
+ case "primed":
2405
+ if (ev.trigger !== "explosion") {
2406
+ this.fires.set(`${ev.object}|${ev.part}`, { object: ev.object, part: ev.part, point: ev.point, accFire: 0, accSmoke: 0 });
2407
+ this.activate(ev.object, ev.part);
2408
+ this.particles.burst("fire", ev.point, [0, 1, 0], 6, 1);
2409
+ this.sound("ignite", ev.point, 0.7);
2410
+ }
2411
+ break;
2404
2412
  case "extinguish": {
2405
2413
  const f = this.fires.get(`${ev.object}|${ev.part}`);
2406
2414
  if (f) {