import {
  SET_SPEED,
  SET_PAUSE,
  SET_PAUSE_HOVER,
  SET_FALLOFF,
  SET_RADII_SCALE,
  SET_BOUNCE_BODIES,
  SET_BOUNCE_SCREEN,
} from './types'


export function speed(s) {
  return {
    type: SET_SPEED,
    speed: s,
  }
}

export function pause(pause) {
  return {
    type: SET_PAUSE,
    paused: pause,
  }
}

export function pauseHover(pause) {
  return {
    type: SET_PAUSE_HOVER,
    pauseHover: pause,
  }
}

export function falloff(f) {
  return {
    type: SET_FALLOFF,
    falloff: f,
  }
}

export function radiiScale(scale) {
  return {
    type: SET_RADII_SCALE,
    radiiScale: scale,
  }
}

export function bounceBodies(b) {
  return {
    type: SET_BOUNCE_BODIES,
    bounceBodies: b,
  }
}

export function bounceScreen(b) {
  return {
    type: SET_BOUNCE_SCREEN,
    bounceScreen: b,
  }
}

import {
  SET_SPEED,
  SET_PAUSE,
  SET_PAUSE_HOVER,
  SET_FALLOFF,
  SET_RADII_SCALE,
  SET_BOUNCE_BODIES,
  SET_BOUNCE_SCREEN,
} from './types'


export function speed(speed) {
  return {
    type: SET_SPEED,
    speed,
  }
}

export function pause(paused) {
  return {
    type: SET_PAUSE,
    paused,
  }
}

export function pauseHover(pauseHover) {
  return {
    type: SET_PAUSE_HOVER,
    pauseHover,
  }
}

export function falloff(falloff) {
  return {
    type: SET_FALLOFF,
    falloff,
  }
}

export function radiiScale(radiiScale) {
  return {
    type: SET_RADII_SCALE,
    radiiScale,
  }
}

export function bounceBodies(bounceBodies) {
  return {
    type: SET_BOUNCE_BODIES,
    bounceBodies,
  }
}

export function bounceScreen(bounceScreen) {
  return {
    type: SET_BOUNCE_SCREEN,
    bounceScreen,
  }
}

Clean up option action creators
Clean up option action creators
