Adds a final state, and some defaults

This commit is contained in:
Nemo 2018-01-28 04:06:31 +05:30
parent a9f965dbaa
commit 344524b85f
1 changed files with 8 additions and 2 deletions

View File

@ -25,12 +25,12 @@ struct Location {
union {
deck :group {
deck @0 :Bool;
deck @0 :Bool = true;
}
player :group {
# Which player
index @1 :UInt8;
index @1 :UInt8 = 0;
location @2 :PlayerCardLocations;
}
@ -40,4 +40,10 @@ struct Location {
struct Card {
type @0 :CardType;
location @1 :Location;
}
struct State {
cardlist @0 :List(Card);
# 1/2/3
round @1 :UInt8 = 1;
}