X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/505d4ac3e3dc4a8f143faed4e6d61f7b9c8e2c33..ee0b3a350bf74952ace849ec105866675c91db5c:/src/main/java/com/codingame/game/LeagueManager.java diff --git a/src/main/java/com/codingame/game/LeagueManager.java b/src/main/java/com/codingame/game/LeagueManager.java index fe2187c..78f15f1 100644 --- a/src/main/java/com/codingame/game/LeagueManager.java +++ b/src/main/java/com/codingame/game/LeagueManager.java @@ -21,6 +21,9 @@ class LeagueManager { } MapLevel mapLevel; + enum FixLevel { SOMETIMES, NEVER } + FixLevel fixLevel; + @Inject LeagueManager(MultiplayerGameManager gameManager) { @@ -37,5 +40,6 @@ class LeagueManager { : level <= 2 ? MapLevel.DISCRETE : MapLevel.CONTINUOUS; + fixLevel = level <= 1 ? FixLevel.SOMETIMES : FixLevel.NEVER; } }