Added game speed settings

This commit is contained in:
marcin.sciesinski
2019-08-08 14:29:05 -07:00
parent 68bd9bb706
commit b08ad7b7ec
2 changed files with 4 additions and 4 deletions

View File

@@ -91,8 +91,8 @@ var GempLotrHallUI = Class.extend({
this.decksSelect = $("<select style='width: 220px'></select>");
this.decksSelect.hide();
this.timerSelect = $("<select style='width: 220px'></select>");
this.addTimer("default", "Default");
this.timerSelect = $("<select style='width: 170px'></select>");
this.addTimer("default", "Default Speed");
this.addTimer("blitz", "Blitz!");
this.addTimer("slow", "Slow");
this.addTimer("glacial", "Glacial");

View File

@@ -301,7 +301,7 @@ public class HallServer extends AbstractServer {
if (timer.equals("default")) {
return new GameTimer(false, "Default", 60 * 80, 60 * 5);
} else if (timer.equals("blitz")) {
return new GameTimer(false, "Blitz", 60 * 40, 60 * 5);
return new GameTimer(false, "Blitz", 60 * 30, 60 * 2);
} else if (timer.equals("slow")) {
return new GameTimer(false, "Slow", 60 * 120, 60 * 5);
} else if (timer.equals("glacial")) {
@@ -699,7 +699,7 @@ public class HallServer extends AbstractServer {
if (league != null)
return league.getName() + " - " + table.getGameSettings().getLeagueSerie().getName();
else
return "Casual " + table.getGameSettings().getTimerName();
return "Casual - " + table.getGameSettings().getTimerName();
}
private void createGameFromAwaitingTable(String tableId, AwaitingTable awaitingTable) {