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

Method apply

src/actions/HideParticles.ts:16–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 }
15
16 override async apply(): Promise<void> {
17 const particlesAction = this.engine.action('Particles') as { stop?: () => void } | undefined;
18 if (particlesAction?.stop) {
19 particlesAction.stop();
20 }
21 }
22
23 override async didApply(): Promise<ActionApplyResult> {
24 this.engine.state({

Callers 1

revertMethod · 0.45

Calls 2

actionMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected