Commit | Line | Data |
---|---|---|
a7d09201 BA |
1 | import ChessRules from "/base_rules.js"; |
2 | ||
3 | export default class RifleRules extends ChessRules { | |
4 | ||
5 | static get Options() { | |
6 | return { | |
7 | select: C.Options.select, | |
535c464b | 8 | input: C.Options.input, |
a7d09201 BA |
9 | styles: C.Options.styles.filter(s => s != "rifle") |
10 | }; | |
11 | } | |
12 | ||
13 | constructor(o) { | |
14 | o.options["rifle"] = true; | |
15 | super(o); | |
16 | } | |
17 | ||
18 | }; |