MCPcopy Create free account
hub / github.com/Monogatari/Monogatari / willApply

Method willApply

src/actions/Particles.ts:82–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80 }
81
82 override async willApply(): Promise<void> {
83 if (typeof this.particles !== 'undefined') {
84 return;
85 } else {
86 throw new Error('Particle system object does not exist.');
87 }
88 }
89
90 override async apply(): Promise<void> {
91 await tsParticles.load({ id: 'tsparticles', options: this.particles });

Callers 1

onLoadMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected