Package-level declarations

Types

Link copied to clipboard
@Serializable
@SerialName(value = "ChitoiHandPattern")
data class ChitoiHandPattern(val pairs: Set<Tile>, val remaining: List<Tile>) : IChitoiHandPattern, CommonHandPattern

以七对子为目标的手牌

Link copied to clipboard
@Serializable
sealed interface CommonHandPattern : HandPattern
Link copied to clipboard
@Serializable
data class Hand<out P : CommonHandPattern>(val tiles: List<Tile>, val furo: List<Furo>, val patterns: Collection<P>) : IHasFuro

手牌

Link copied to clipboard
interface HandPattern : IHasFuro

手牌形

Link copied to clipboard

以七对子为目标的手牌

Link copied to clipboard
interface IHasFuro
Link copied to clipboard

以国士无双为目标的手牌

Link copied to clipboard

以标准形为目标的手牌

Link copied to clipboard
@Serializable
@SerialName(value = "KokushiHandPattern")
data class KokushiHandPattern(val yaochu: Set<Tile>, val repeated: Tile?, val remaining: List<Tile>) : IKokushiHandPattern, CommonHandPattern

以国士无双为目标的手牌

Link copied to clipboard
@Serializable
@SerialName(value = "RegularHandPattern")
data class RegularHandPattern(val k: Int, val jyantou: Tile?, val menzenMentsu: List<Mentsu>, val furo: List<Furo>, val tatsu: List<Tatsu>, val remaining: List<Tile>) : IRegularHandPattern, CommonHandPattern

以标准形为目标的手牌