public static int getCharacterID() {
		String value = properties.getProperty(CHARACTER_ID);
		if (value == null) {
			return GameCharacter.LordLard.ordinal();
		}
		int id = GameCharacter.LordLard.ordinal();
		try {
			id = Integer.parseInt(value);
		} catch (NumberFormatException e) {}
		if (id < 0 || id >= GameCharacter.values().length-1) {
			return GameCharacter.LordLard.ordinal();
		}
		return id;
	}