Some default values for the player record

This commit is contained in:
Correl Roush 2012-12-03 23:47:36 -05:00
parent 15aec16450
commit 3d49277fd7

View file

@ -49,9 +49,9 @@
-record(player, {
name :: string(),
seat :: wind(),
hand :: hand(),
discards :: [tile()],
drawn :: none | {tsumo | ron, tile()}
hand=#hand{} :: hand(),
discards=[] :: [tile()],
drawn=none :: none | {tsumo | ron, tile()}
}).
-type player() :: #player{}.