Skip to content

Commit

Permalink
refactor: 重命名 AudioManager -> MusicManager
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim-shop committed May 11, 2023
1 parent bd988ea commit 8bd93b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package net.imshit.aircraftwar.util.resource
import android.content.Context
import android.content.res.AssetFileDescriptor

class AudioManager(context: Context) {
class MusicManager(context: Context) {
private val getAfd: (String) -> AssetFileDescriptor = { fileName ->
context.assets.openFd("audio/$fileName")
}
Expand Down

0 comments on commit 8bd93b1

Please sign in to comment.