camelot-unchained
Version:
Camelot Unchained Client Library
30 lines (21 loc) • 1.75 kB
JavaScript
/**
* 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/.
*/
;
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var _UnitFrame_1 = require('./_UnitFrame');
var defaultTopics_1 = require('../defaultTopics');
var EmenyTargetListener = function (_UnitFrame_1$default) {
_inherits(EmenyTargetListener, _UnitFrame_1$default);
function EmenyTargetListener() {
_classCallCheck(this, EmenyTargetListener);
return _possibleConstructorReturn(this, Object.getPrototypeOf(EmenyTargetListener).call(this, defaultTopics_1.clientEventTopics.handlesEnemyTarget));
}
return EmenyTargetListener;
}(_UnitFrame_1.default);
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = EmenyTargetListener;