File size: 511 Bytes
670a607
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
export default {
    getSelectedChess1() {
        return this.mainState.selectedChess1;
    },

    getSelectedChess2() {
        return this.mainState.selectedChess2;
    },

    selectChess1(chess) {
        this.mainState.selectChess1(chess);
        return this;
    },

    selectChess2(chess) {
        this.mainState.selectChess2(chess);
        return this;
    },

    setInputEnable(enable) {
        if (this.input) {
            this.input.setEnable(enable);
        }
        return this;
    },
}