diff options
| author | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-08-25 23:03:05 +0200 |
|---|---|---|
| committer | Georgios Andreadis <g.andreadis@student.tudelft.nl> | 2017-09-23 10:05:44 +0200 |
| commit | 8302923a08728d36746af3560ebc35685c2b9da5 (patch) | |
| tree | 028b0e0db8f7e8e60d9127a522ceea49ec395952 /src/actions/interaction-level.js | |
| parent | 8f5e6d1e73f16e3cdd523f961d06e4b4eb5a8cef (diff) | |
Enable going from building to room and back
Diffstat (limited to 'src/actions/interaction-level.js')
| -rw-r--r-- | src/actions/interaction-level.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/actions/interaction-level.js b/src/actions/interaction-level.js new file mode 100644 index 00000000..916648f0 --- /dev/null +++ b/src/actions/interaction-level.js @@ -0,0 +1,15 @@ +export const GO_FROM_BUILDING_TO_ROOM = "GO_FROM_BUILDING_TO_ROOM"; +export const GO_FROM_ROOM_TO_BUILDING = "GO_FROM_ROOM_TO_BUILDING"; + +export function goFromBuildingToRoom(roomId) { + return { + type: GO_FROM_BUILDING_TO_ROOM, + roomId + }; +} + +export function goFromRoomToBuilding() { + return { + type: GO_FROM_ROOM_TO_BUILDING + }; +} |
