diff --git a/core/src/chrislo27/rhre/registry/Game.kt b/core/src/chrislo27/rhre/registry/Game.kt index 95f1513c4..b13dce7e5 100644 --- a/core/src/chrislo27/rhre/registry/Game.kt +++ b/core/src/chrislo27/rhre/registry/Game.kt @@ -3,9 +3,7 @@ package chrislo27.rhre.registry import com.badlogic.gdx.graphics.Texture import ionium.registry.AssetRegistry import ionium.util.MathHelper -import ionium.util.i18n.Localization import org.luaj.vm2.LuaValue -import java.util.* data class Game(val id: String, val name: String, val soundCues: List, @@ -66,22 +64,3 @@ data class Game(val id: String, val name: String, val soundCues: List, } } - -enum class Series(val i10nKey: String) { - - UNKNOWN("other"), TENGOKU("tengoku"), DS("ds"), - FEVER("fever"), MEGAMIX("megamix"), SIDE("side"), - CUSTOM("custom"); - - companion object { - @JvmField - val values: Array = values() - } - - fun getLocalizedName(): String = Localization.get("series." + i10nKey) - - val luaValue: LuaValue by lazy { - LuaValue.valueOf(i10nKey.toUpperCase(Locale.ROOT)) - } - -} \ No newline at end of file diff --git a/core/src/chrislo27/rhre/registry/Series.kt b/core/src/chrislo27/rhre/registry/Series.kt new file mode 100644 index 000000000..d7a9b70df --- /dev/null +++ b/core/src/chrislo27/rhre/registry/Series.kt @@ -0,0 +1,24 @@ +package chrislo27.rhre.registry + +import ionium.util.i18n.Localization +import org.luaj.vm2.LuaValue +import java.util.* + +enum class Series(val i10nKey: String) { + + UNKNOWN("other"), TENGOKU("tengoku"), DS("ds"), + FEVER("fever"), MEGAMIX("megamix"), SIDE("side"), + CUSTOM("custom"); + + companion object { + @JvmField + val values: Array = values() + } + + fun getLocalizedName(): String = Localization.get("series." + i10nKey) + + val luaValue: LuaValue by lazy { + LuaValue.valueOf(i10nKey.toUpperCase(Locale.ROOT)) + } + +} \ No newline at end of file