Skip to content

Commit 0aeabfa

Browse files
committed
feat: audio object is now in public API, closes #1187
1 parent b255a9d commit 0aeabfa

File tree

1 file changed

+2
-2
lines changed
  • fxgl-core/src/main/kotlin/com/almasb/fxgl/audio

1 file changed

+2
-2
lines changed

fxgl-core/src/main/kotlin/com/almasb/fxgl/audio/Audio.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ fun getDummyAudio() = audio
5858
*
5959
* @author Almas Baimagambetov (AlmasB) ([email protected])
6060
*/
61-
class Music(internal val audio: Audio) : Disposable {
61+
class Music(val audio: Audio) : Disposable {
6262

6363
internal var isDisposed = false
6464

@@ -72,7 +72,7 @@ class Music(internal val audio: Audio) : Disposable {
7272
*
7373
* @author Almas Baimagambetov (AlmasB) ([email protected])
7474
*/
75-
class Sound(internal val audio: Audio) : Disposable {
75+
class Sound(val audio: Audio) : Disposable {
7676

7777
internal var isDisposed = false
7878

0 commit comments

Comments
 (0)