toggle menu
mahjong-utils
0.7.0
common
switch theme
search in API
mahjong-utils
/
mahjongutils.models
/
Kan
Kan
@
Serializable
@
SerialName
(
value
=
"Kan"
)
data
class
Kan
(
val
tile
:
Tile
,
val
ankan
:
Boolean
=
false
)
:
Furo
杠
Members
Constructors
Kan
Link copied to clipboard
constructor
(
tile
:
Tile
,
ankan
:
Boolean
=
false
)
Properties
ankan
Link copied to clipboard
@
EncodeDefault
val
ankan
:
Boolean
=
false
是否为暗杠
tile
Link copied to clipboard
val
tile
:
Tile
杠成的刻子的牌(如7777s,tile应为7s)
tiles
Link copied to clipboard
open
override
val
tiles
:
List
<
Tile
>
Functions
as
Mentsu
Link copied to clipboard
open
override
fun
asMentsu
(
)
:
Kotsu
获取副露的面子