commonMain.mahjongutils.hanhu.HanHuOptions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mahjong-utils Show documentation
Show all versions of mahjong-utils Show documentation
Mahjong Utils (for Japanese Riichi Mahjong)
The newest version!
package mahjongutils.hanhu
import kotlinx.serialization.Serializable
@Serializable
data class HanHuOptions(
/**
* 是否为青天井规则
*/
val aotenjou: Boolean = false,
/**
* 是否有切上满贯
*/
val hasKiriageMangan: Boolean = false,
/**
* 是否有累计役满
*/
val hasKazoeYakuman: Boolean = true
) {
companion object {
val Default = HanHuOptions(hasKiriageMangan = false, hasKazoeYakuman = true)
}
}