()
| 34 | } |
| 35 | |
| 36 | override async apply(): Promise<void> { |
| 37 | if (Array.isArray(this.player)) { |
| 38 | for (const player of this.player) { |
| 39 | player.pause(); |
| 40 | } |
| 41 | } else { |
| 42 | this.player.pause(); |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | override async didApply(): Promise<ActionApplyResult> { |
| 47 | const currentState = this.engine.state(this.type); |