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