add rules text

This commit is contained in:
stryan 2021-11-30 21:41:11 -05:00
parent a0ec6430db
commit 93b54b24c4
2 changed files with 5 additions and 4 deletions

View File

@ -6,4 +6,5 @@ type CardView struct {
Rank int `json:"rank"`
ImageURI string `json:"image_uri"`
Flavour string `json:"flavour"`
Rules string `json:"rules_text"`
}

8
cmd.go
View File

@ -5,10 +5,10 @@ import "fmt"
type CmdType string
const (
ActCmd = "a"
StateCmd = "s"
DebugCmd = "d"
InvalidCmd = "e"
ActCmd CmdType = "a"
StateCmd = "s"
DebugCmd = "d"
InvalidCmd = "e"
)
type Command struct {