hora

fun hora(tiles: List<Tile>, furo: List<Furo> = DEFAULT_FURO, agari: Tile, tsumo: Boolean, dora: Int = DEFAULT_DORA, selfWind: Wind? = DEFAULT_SELF_WIND, roundWind: Wind? = DEFAULT_ROUND_WIND, extraYaku: Set<Yaku> = DEFAULT_EXTRA_YAKU, options: HoraOptions = DEFAULT_OPTIONS): Hora

和牌分析

Return

和牌分析结果

Parameters

tiles

门前的牌

furo

副露

agari

和牌张

tsumo

是否自摸

dora

宝牌数目

selfWind

自风

roundWind

场风

extraYaku

额外役种


fun hora(shantenResult: CommonShantenResult<*>, agari: Tile, tsumo: Boolean, dora: Int = DEFAULT_DORA, selfWind: Wind? = DEFAULT_SELF_WIND, roundWind: Wind? = DEFAULT_ROUND_WIND, extraYaku: Set<Yaku> = DEFAULT_EXTRA_YAKU, options: HoraOptions = DEFAULT_OPTIONS): Hora

和牌分析

Return

和牌分析结果

Parameters

shantenResult

向听分析结果

agari

和牌张

tsumo

是否自摸

dora

宝牌数目

selfWind

自风

roundWind

场风

extraYaku

额外役种(不会对役种合法性进行检查)


fun hora(args: HoraArgs): Hora