forked from External/mage
added draft timing
This commit is contained in:
parent
982ee064a6
commit
cb73d4a25d
11 changed files with 419 additions and 31 deletions
|
|
@ -46,7 +46,19 @@ public class DraftOptions implements Serializable {
|
|||
protected TimingOption timing;
|
||||
|
||||
public enum TimingOption {
|
||||
REGULAR, BEGINNER, NONE
|
||||
REGULAR (1),
|
||||
BEGINNER (2),
|
||||
NONE (0);
|
||||
|
||||
private int factor;
|
||||
|
||||
TimingOption(int factor) {
|
||||
this.factor = factor;
|
||||
}
|
||||
|
||||
public int getFactor() {
|
||||
return this.factor;
|
||||
}
|
||||
}
|
||||
|
||||
public DraftOptions(String name) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue