Manage wounds

This commit is contained in:
2021-02-16 22:04:59 +01:00
parent cfcc3b3201
commit fb0eb9dcc8
9 changed files with 137 additions and 27 deletions

View File

@ -94,6 +94,11 @@ export class SoSCardDeck {
}
}
/* -------------------------------------------- */
getDeckSize() {
return this.data.deck.length;
}
/* -------------------------------------------- */
getCardSuit( cardName ) {
if ( cardName[0] == 'c') return 'club';