瀏覽代碼

Add description to decks

crobi 9 年之前
父節點
當前提交
e37a12186d
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      client/src/stores/deck.ts

+ 2
- 0
client/src/stores/deck.ts 查看文件

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…
取消
儲存