mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-13 03:54:06 +09:00
18 lines
504 B
Kotlin
18 lines
504 B
Kotlin
package net.torvald.terrarum.musicplayer
|
|
|
|
import net.torvald.terrarum.ModMgr
|
|
import net.torvald.terrarum.ModuleEntryPoint
|
|
import net.torvald.terrarum.modulebasegame.TerrarumIngame
|
|
import net.torvald.terrarum.musicplayer.gui.MusicPlayerControl
|
|
|
|
/**
|
|
* Created by minjaesong on 2023-12-23.
|
|
*/
|
|
class EntryPoint : ModuleEntryPoint() {
|
|
override fun invoke() {
|
|
ModMgr.GameExtraGuiLoader.register { ingame: TerrarumIngame -> MusicPlayerControl(ingame) }
|
|
}
|
|
|
|
override fun dispose() {
|
|
}
|
|
} |