X-Git-Url: https://troll.desast.re/troll.git/blobdiff_plain/fddaf463662bf94d6382bf4e9b4d56a9689315af..e0290aa2bf6fe6c998d30101fcad648baa2cfcd5:/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; } }