Adds a final state, and some defaults
This commit is contained in:
parent
a9f965dbaa
commit
344524b85f
|
@ -25,12 +25,12 @@ struct Location {
|
||||||
|
|
||||||
union {
|
union {
|
||||||
deck :group {
|
deck :group {
|
||||||
deck @0 :Bool;
|
deck @0 :Bool = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
player :group {
|
player :group {
|
||||||
# Which player
|
# Which player
|
||||||
index @1 :UInt8;
|
index @1 :UInt8 = 0;
|
||||||
|
|
||||||
location @2 :PlayerCardLocations;
|
location @2 :PlayerCardLocations;
|
||||||
}
|
}
|
||||||
|
@ -40,4 +40,10 @@ struct Location {
|
||||||
struct Card {
|
struct Card {
|
||||||
type @0 :CardType;
|
type @0 :CardType;
|
||||||
location @1 :Location;
|
location @1 :Location;
|
||||||
|
}
|
||||||
|
|
||||||
|
struct State {
|
||||||
|
cardlist @0 :List(Card);
|
||||||
|
# 1/2/3
|
||||||
|
round @1 :UInt8 = 1;
|
||||||
}
|
}
|
Loading…
Reference in New Issue