Add allowed quit ratio option to match option and tourney option.

This commit is contained in:
Me Car 2016-01-30 23:17:32 +09:00
parent ef3fbffe11
commit 284c36b756
16 changed files with 292 additions and 74 deletions

View file

@ -54,6 +54,7 @@ public class MatchOptions implements Serializable {
protected String password;
protected SkillLevel skillLevel;
protected boolean rollbackTurnsAllowed;
protected int quitRatio;
/**
* Time each player has during the game to play using his\her priority.
@ -167,5 +168,13 @@ public class MatchOptions implements Serializable {
public void setRollbackTurnsAllowed(boolean rollbackTurnsAllowed) {
this.rollbackTurnsAllowed = rollbackTurnsAllowed;
}
}
public int getQuitRatio() {
return quitRatio;
}
public void setQuitRatio(int quitRatio) {
this.quitRatio = quitRatio;
}
}