UNPKG

camelot-unchained

Version:
26 lines (25 loc) 855 B
/** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ "use strict"; var Reflux = require('reflux'); var events_1 = require('../../events'); var _UnitFrame_1 = require('./_UnitFrame'); var EnemyTargetStore = { create: function create() { var actions = Reflux.createActions(['start', 'stop']); var store = Reflux.createStore({ mixins: [_UnitFrame_1.default], topic: events_1.default.clientEventTopics.handlesEnemyTarget, listenables: actions }); return { store: store, actions: actions }; } }; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = EnemyTargetStore;