import * as SettingsActions from './SettingsActions' ; import { ActionCreator } from 'redux' ; import Sex from '../../model/enums/Sex' ; const isSoundEnabledChanged = ( isSoundEnabled ) => ( { type : SettingsActions . SettingsActionTypes . IsSoundEnabledChanged , isSoundEnabled } ) ; const showPersonsAtBottomOnWideScreenChanged = ( showPersonsAtBottomOnWideScreen ) => ( { type : SettingsActions . SettingsActionTypes . ShowPersonsAtBottomOnWideScreenChanged , showPersonsAtBottomOnWideScreen } ) ; const onSexChanged = ( newSex ) => ( { type : SettingsActions . SettingsActionTypes . SexChanged , newSex } ) ; const onOralChanged = ( oral ) => ( { type : SettingsActions . SettingsActionTypes . OralChanged , oral } ) ; const onFalseStartsChanged = ( falseStarts ) => ( { type : SettingsActions . SettingsActionTypes . FalseStartsChanged , falseStarts } ) ; const onHintShowmanChanged = ( hintShowman ) => ( { type : SettingsActions . SettingsActionTypes . HintShowmanChanged , hintShowman } ) ; const settingsActionCreators = { isSoundEnabledChanged , showPersonsAtBottomOnWideScreenChanged , onSexChanged , onOralChanged , onFalseStartsChanged , onHintShowmanChanged } ; export default settingsActionCreators ;