summaryrefslogtreecommitdiff
path: root/src/actions/interaction-level.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-07 11:38:42 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:05:58 +0200
commite9909159dc5db91eda12437e18c1474cae848af7 (patch)
treef34e0ca56b666f6a4ab1022e58a6dcd84b779725 /src/actions/interaction-level.js
parentd5a92d3006561fd631279b68b23a1f8075b28bb8 (diff)
Implement first machine slot listing
Diffstat (limited to 'src/actions/interaction-level.js')
-rw-r--r--src/actions/interaction-level.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actions/interaction-level.js b/src/actions/interaction-level.js
index 884f1988..5ceff500 100644
--- a/src/actions/interaction-level.js
+++ b/src/actions/interaction-level.js
@@ -1,5 +1,5 @@
export const GO_FROM_BUILDING_TO_ROOM = "GO_FROM_BUILDING_TO_ROOM";
-export const GO_FROM_ROOM_TO_OBJECT = "GO_FROM_ROOM_TO_OBJECT";
+export const GO_FROM_ROOM_TO_RACK = "GO_FROM_ROOM_TO_RACK";
export const GO_DOWN_ONE_INTERACTION_LEVEL = "GO_DOWN_ONE_INTERACTION_LEVEL";
export function goFromBuildingToRoom(roomId) {
@@ -16,14 +16,14 @@ export function goFromBuildingToRoom(roomId) {
};
}
-export function goFromRoomToObject(tileId) {
+export function goFromRoomToRack(tileId) {
return (dispatch, getState) => {
const {interactionLevel} = getState();
if (interactionLevel.mode !== "ROOM") {
return;
}
dispatch({
- type: GO_FROM_ROOM_TO_OBJECT,
+ type: GO_FROM_ROOM_TO_RACK,
tileId
});
};