UNPKG

kitchen-simulator

Version:

It is a kitchen simulator (self-contained micro-frontend).

19 lines (18 loc) 561 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = _default; var _export = require("../class/export"); var _constants = require("../constants"); function _default(state, action) { switch (action.type) { case _constants.SELECT_AREA: return _export.Area.select(state, action.layerID, action.areaID).updatedState; case _constants.SET_FLOOR_STYLES: return _export.Area.setFloorStyles(state, action.texture).updatedState; default: return state; } } module.exports = exports.default;