ru.pocketbyte.locolaser.ConfigResourceBuilder+Ini.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resource-ini Show documentation
Show all versions of resource-ini Show documentation
Implementation of platform for LocoLaser tool to work with ini resources.
package ru.pocketbyte.locolaser
import ru.pocketbyte.locolaser.config.ConfigResourceBuilder
import ru.pocketbyte.locolaser.config.resources.BaseResourcesConfigBuilder
import ru.pocketbyte.locolaser.ini.IniResourceConfig
fun ConfigResourceBuilder.ini(action: BaseResourcesConfigBuilder.() -> Unit) {
val resourcesConfig = IniResourceConfig()
action(BaseResourcesConfigBuilder(resourcesConfig))
add(resourcesConfig)
}