added draft timing

This commit is contained in:
BetaSteward 2011-01-12 23:44:04 -05:00
parent 982ee064a6
commit cb73d4a25d
11 changed files with 419 additions and 31 deletions

View file

@ -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) {