ed7d4553bd47ba134c505a0b286f4feb2c36db3d
[troll.git] / src / main / java / com / codingame / game / LeagueManager.java
1 package com.codingame.game;
2
3 import com.codingame.gameengine.core.MultiplayerGameManager;
4 import com.codingame.gameengine.core.AbstractMultiplayerPlayer;
5 import com.google.inject.Inject;
6 import com.google.inject.Singleton;
7
8 @Singleton
9 class LeagueManager {
10     enum CheatLevel {
11         ALLOWED,
12         TOLERATED,
13         FORBIDDEN
14     }
15
16     CheatLevel cheatLevel;
17
18     @Inject
19     LeagueManager(MultiplayerGameManager<AbstractMultiplayerPlayer> gameManager)
20     {
21         cheatLevel = CheatLevel.FORBIDDEN;
22     }    
23 }