Browse Source

Add description to decks

crobi 10 years ago
parent
commit
e37a12186d
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      client/src/stores/deck.ts

+ 2
- 0
client/src/stores/deck.ts View File

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

Loading…
Cancel
Save