public static void makeGameLowLuck(final GameData data) {
   for (final IEditableProperty property : data.getProperties().getEditableProperties()) {
     if (property.getName().equals(Constants.LOW_LUCK)) {
       ((BooleanProperty) property).setValue(true);
       return;
     }
   }
   throw new IllegalStateException();
 }
 public static void setSelectAACasualties(final GameData data, final boolean val) {
   for (final IEditableProperty property : data.getProperties().getEditableProperties()) {
     if (property.getName().equals(Constants.CHOOSE_AA)) {
       ((BooleanProperty) property).setValue(val);
       return;
     }
   }
   throw new IllegalStateException();
 }