rewrote singleton to enum where applicable

This commit is contained in:
ingmargoudt 2017-03-14 16:31:57 +01:00
parent 3b62489ef5
commit 234cfe9519
872 changed files with 1796 additions and 2135 deletions

View file

@ -8,10 +8,10 @@ import java.util.UUID;
* @author nantuko
*/
public class GameManager {
private static final GameManager fInstance = new GameManager();
private static final GameManager instance = new GameManager();
public static GameManager getInstance() {
return fInstance;
return instance;
}
public void setStackSize(int stackSize) {