Skip to content

Commit

Permalink
refactor(Sound): add private modifier to methods
Browse files Browse the repository at this point in the history
  • Loading branch information
meszaros-lajos-gyorgy committed Oct 29, 2023
1 parent 7be951d commit 307d97b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripting/classes/Sound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class Sound {
return `play ${flags} ${filename}`
}

getFilename() {
private getFilename() {
if (typeof this.filename === 'string') {
return '"' + this.filename + '"'
} else {
Expand All @@ -52,7 +52,7 @@ export class Sound {
* [p] = variable pitch
* [s] = stop (only if unique)
*/
stringifyFlags() {
private stringifyFlags() {
let letters = ''

if (this.flags & SoundFlags.EmitFromPlayer) {
Expand Down

0 comments on commit 307d97b

Please sign in to comment.