diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-17 17:55:04 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:06:03 +0200 |
| commit | eb208a7e2fd020ab5d07d11cc6d52d1e3dcfcc7c (patch) | |
| tree | d2ec8a20408b7b2880e62feaa70fe95a78c484dd /src/reducers/index.js | |
| parent | 326b74fc39f63f47c71359276601ea93f7345dc6 (diff) | |
Add simulation mode framework
Includes object states in the store (by tick), charting, and progress bars.
Diffstat (limited to 'src/reducers/index.js')
| -rw-r--r-- | src/reducers/index.js | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/reducers/index.js b/src/reducers/index.js index 1f3aa8f2..a9b6bf34 100644 --- a/src/reducers/index.js +++ b/src/reducers/index.js @@ -1,24 +1,30 @@ import {combineReducers} from "redux"; import {auth} from "./auth"; -import {construction} from "./construction"; +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 {currentSimulationId} from "./simulations"; -import {currentDatacenterId} from "./topology"; +import {currentExperimentId, currentTick, isPlaying, loadMetric} from "./simulation-mode"; +import {states} from "./states"; const rootReducer = combineReducers({ - auth, objects, + states, modals, simulationList, + construction, + map, currentSimulationId, currentDatacenterId, + currentExperimentId, + currentTick, + loadMetric, + isPlaying, interactionLevel, - construction, - map, + auth, }); export default rootReducer; |
