@adatechnology/game-weapons 0.11.2 → 0.12.1
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.d.ts +2 -0
- package/dist/index.global.js +4 -0
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -14708,6 +14708,10 @@ var ExplosiveBody = class {
|
|
|
14708
14708
|
get fuseRemaining() {
|
|
14709
14709
|
return this.fuseLeft;
|
|
14710
14710
|
}
|
|
14711
|
+
/** Whether this trigger sets it off (`impact` for a rocket or a 40 mm grenade, `timer` for a hand grenade). */
|
|
14712
|
+
isTriggeredBy(trigger) {
|
|
14713
|
+
return this.triggers.has(trigger);
|
|
14714
|
+
}
|
|
14711
14715
|
step(dt, probe) {
|
|
14712
14716
|
const events = [];
|
|
14713
14717
|
if (this.isDone) return events;
|