Skip to content

Commit

Permalink
impl: get_sound_duration
Browse files Browse the repository at this point in the history
  • Loading branch information
gnlow committed Dec 27, 2023
1 parent 94c5ee7 commit 1c77d45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,9 @@ export class Entry {
to - from,
)
}
get_sound_duration(soundId: string) {
return this.sounds[soundId].duration
}
play_bgm(soundId: string) {
this.sound_something_with_block(soundId)
}
Expand Down

0 comments on commit 1c77d45

Please sign in to comment.