All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.eu.codlab.lorcana.Classifications.kt Maven / Gradle / Ivy

There is a newer version: 0.13.0
Show newest version
package eu.codlab.lorcana

import eu.codlab.lorcana.cards.ClassificationHolder
import eu.codlab.lorcana.resources.Resources
import eu.codlab.lorcana.utils.LorcanaConfiguration.github
import eu.codlab.tcgmapper.AbstractLoader
import kotlinx.serialization.builtins.ListSerializer

/**
 * Represents all the possible classifications that are available. It will retrieve
 * a map of name -> TranslationHolder that then can be applied to the cards
 */
object Classifications : AbstractLoader>(
    Resources.files.classifications_yml,
    "classifications",
    ListSerializer(ClassificationHolder.serializer()),
    github
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy