mirror of
https://github.com/correl/riichi.git
synced 2024-11-14 19:19:31 +00:00
Some default values for the player record
This commit is contained in:
parent
dadd16b81d
commit
b4f1d1a95c
1 changed files with 5 additions and 5 deletions
|
@ -49,9 +49,9 @@
|
||||||
-record(player, {
|
-record(player, {
|
||||||
name :: string(),
|
name :: string(),
|
||||||
seat :: wind(),
|
seat :: wind(),
|
||||||
hand :: hand(),
|
hand=#hand{} :: hand(),
|
||||||
discards :: [tile()],
|
discards=[] :: [tile()],
|
||||||
drawn :: none | {tsumo | ron, tile()}
|
drawn=none :: none | {tsumo | ron, tile()}
|
||||||
}).
|
}).
|
||||||
-type player() :: #player{}.
|
-type player() :: #player{}.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue