summaryrefslogtreecommitdiff
path: root/frontend/src/actions/simulation/tick.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-07-07 09:55:10 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:47:25 +0200
commitb4bdf9fde013bb7ff9579693b64ff575f7b00e44 (patch)
tree5e05ceba918849391a639bbeeab37d290a86523c /frontend/src/actions/simulation/tick.js
parent7331e9baf2cfe7bdfb24effcf0a4801da1e7ea4d (diff)
Rename simulations to projects and remove experiment view
Diffstat (limited to 'frontend/src/actions/simulation/tick.js')
-rw-r--r--frontend/src/actions/simulation/tick.js25
1 files changed, 0 insertions, 25 deletions
diff --git a/frontend/src/actions/simulation/tick.js b/frontend/src/actions/simulation/tick.js
deleted file mode 100644
index ca2027a4..00000000
--- a/frontend/src/actions/simulation/tick.js
+++ /dev/null
@@ -1,25 +0,0 @@
-export const GO_TO_TICK = 'GO_TO_TICK'
-export const SET_LAST_SIMULATED_TICK = 'SET_LAST_SIMULATED_TICK'
-
-export function incrementTick() {
- return (dispatch, getState) => {
- const { currentTick } = getState()
- dispatch(goToTick(currentTick + 1))
- }
-}
-
-export function goToTick(tick) {
- return (dispatch, getState) => {
- dispatch({
- type: GO_TO_TICK,
- tick,
- })
- }
-}
-
-export function setLastSimulatedTick(tick) {
- return {
- type: SET_LAST_SIMULATED_TICK,
- tick,
- }
-}