FIX: IT belongs in a MODEL!
[troll.git] / src / main / java / com / codingame / game / LeagueManager.java
index fe2187c..78f15f1 100644 (file)
@@ -21,6 +21,9 @@ class LeagueManager {
     }
     MapLevel mapLevel;
 
     }
     MapLevel mapLevel;
 
+    enum FixLevel { SOMETIMES, NEVER }
+    FixLevel fixLevel;
+
     @Inject
     LeagueManager(MultiplayerGameManager<AbstractMultiplayerPlayer> gameManager)
     {
     @Inject
     LeagueManager(MultiplayerGameManager<AbstractMultiplayerPlayer> gameManager)
     {
@@ -37,5 +40,6 @@ class LeagueManager {
                  : level <= 2 ? MapLevel.DISCRETE
                  : MapLevel.CONTINUOUS;
 
                  : level <= 2 ? MapLevel.DISCRETE
                  : MapLevel.CONTINUOUS;
 
+        fixLevel = level <= 1 ? FixLevel.SOMETIMES : FixLevel.NEVER;
     }    
 }
     }    
 }