Mistři v programování na #hovnokod

Java #212

a simple wrapper...

protected Difficulty getDifficulty() {
		String diff = GameSettingsMenuActivity.getDifficulty();
		if (diff.equals("Beginner"))
			return Difficulty.easy;
		if (diff.equals("Advanced"))
			return Difficulty.normal;
		if (diff.equals("Expert"))
			return Difficulty.hard;
		else
			return Difficulty.easy;
	}

Anonymous,