Bläddra i källkod

Add description to decks

crobi 9 år sedan
förälder
incheckning
e37a12186d
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2
    0
      client/src/stores/deck.ts

+ 2
- 0
client/src/stores/deck.ts Visa fil

@@ -3,10 +3,12 @@
3 3
 module rpgcards {
4 4
     export class Deck extends Entity{
5 5
         public cards: string[];
6
+        public description: string;
6 7
 
7 8
         constructor(id:string) {
8 9
             super(id);
9 10
             this.cards = [];
11
+            this.description = "";
10 12
         }
11 13
 
12 14
     }

Loading…
Avbryt
Spara