Skip to content

Commit

Permalink
README.md changes
Browse files Browse the repository at this point in the history
  • Loading branch information
davipatury committed Oct 18, 2019
1 parent a1a2eb9 commit ebc10bc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,12 @@ const deck = DeckEncoder.decode('CEAAECABAQJRWHBIFU2DOOYIAEBAMCIMCINCILJZAICACBA
Card { code: '01IO043', count: 1 } ]
*/

deck[0].faction
// Faction { id: 4, shortCode: "PZ" }
// Card
deck[0].code // "01PZ019"
deck[0].count // 2
deck[0].set // 1
deck[0].id // 19
deck[0].faction // Faction { id: 4, shortCode: "PZ" }

const code = DeckEncoder.encode(deck)
// CEAAECABAQJRWHBIFU2DOOYIAEBAMCIMCINCILJZAICACBANE4VCYBABAILR2HRL
Expand Down

0 comments on commit ebc10bc

Please sign in to comment.