mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-17 22:14:05 +09:00
weather in weathercodex
This commit is contained in:
@@ -1,19 +1,12 @@
|
||||
package net.torvald.terrarum.audio
|
||||
|
||||
import com.badlogic.gdx.utils.Disposable
|
||||
import java.io.File
|
||||
|
||||
/**
|
||||
* Created by minjaesong on 2024-04-05.
|
||||
*/
|
||||
abstract class AudioBank : Disposable {
|
||||
|
||||
companion object {
|
||||
fun fromMusic(name: String, file: File, looping: Boolean = false, toRAM: Boolean = false, songFinishedHook: (AudioBank) -> Unit = {}): AudioBank {
|
||||
return MusicContainer(name, file, looping, toRAM, songFinishedHook)
|
||||
}
|
||||
}
|
||||
|
||||
protected val hash = System.nanoTime()
|
||||
|
||||
abstract fun makeCopy(): AudioBank
|
||||
|
||||
Reference in New Issue
Block a user