Add 'EDH power level' rating to Commander tables

This commit is contained in:
spjspj 2016-11-20 23:13:16 +11:00
parent 7d60d884c3
commit 7fd2eeedcf
6 changed files with 326 additions and 2 deletions

View file

@ -67,4 +67,8 @@ public abstract class DeckValidator implements Serializable {
}
}
}
public int getEdhPowerLevel(Deck deck) {
return 0;
}
}

View file

@ -58,6 +58,7 @@ public class MatchOptions implements Serializable {
protected SkillLevel skillLevel;
protected boolean rollbackTurnsAllowed;
protected int quitRatio;
protected int edhPowerLevel;
protected boolean rated;
protected int numSeatsForMatch;
@ -208,6 +209,14 @@ public class MatchOptions implements Serializable {
public void setQuitRatio(int quitRatio) {
this.quitRatio = quitRatio;
}
public int getEdhPowerLevel() {
return edhPowerLevel;
}
public void setEdhPowerLevel(int edhPowerLevel) {
this.edhPowerLevel = edhPowerLevel;
}
public boolean isRated() {
return rated;