Adds a final state, and some defaults
This commit is contained in:
parent
a9f965dbaa
commit
344524b85f
|
@ -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;
|
||||
}
|
||||
|
@ -41,3 +41,9 @@ struct Card {
|
|||
type @0 :CardType;
|
||||
location @1 :Location;
|
||||
}
|
||||
|
||||
struct State {
|
||||
cardlist @0 :List(Card);
|
||||
# 1/2/3
|
||||
round @1 :UInt8 = 1;
|
||||
}
|
Loading…
Reference in New Issue