summaryrefslogtreecommitdiff
path: root/src/reducers/index.js
blob: 6f4d0c9471260baf5d20f2fc0f67994a633692c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import { combineReducers } from "redux";
import { auth } from "./auth";
import { construction } from "./construction-mode";
import { currentDatacenterId, currentSimulationId } from "./current-ids";
import { interactionLevel } from "./interaction-level";
import { map } from "./map";
import { modals } from "./modals";
import { objects } from "./objects";
import { simulationList } from "./simulation-list";
import {
  currentExperimentId,
  currentTick,
  isPlaying,
  lastSimulatedTick,
  loadMetric
} from "./simulation-mode";
import { states } from "./states";

const rootReducer = combineReducers({
  objects,
  states,
  modals,
  simulationList,
  construction,
  map,
  currentSimulationId,
  currentDatacenterId,
  currentExperimentId,
  currentTick,
  lastSimulatedTick,
  loadMetric,
  isPlaying,
  interactionLevel,
  auth
});

export default rootReducer;