@robotlegsjs/pixi-palidor
Version:
A RobotlegsJS View Manager Extension for PixiJS
38 lines • 1.46 kB
JavaScript
;
// ------------------------------------------------------------------------------
// Copyright (c) 2017-present, RobotlegsJS. All Rights Reserved.
//
// NOTICE: You are permitted to use, modify, and distribute this file
// in accordance with the terms of the license agreement accompanying it.
// ------------------------------------------------------------------------------
Object.defineProperty(exports, "__esModule", { value: true });
exports.FlowViewMapping = void 0;
var FlowViewMapping = /** @class */ (function () {
function FlowViewMapping(event, flowManager) {
this._event = event;
this._flowManager = flowManager;
}
Object.defineProperty(FlowViewMapping.prototype, "event", {
get: function () {
return this._event;
},
enumerable: false,
configurable: true
});
Object.defineProperty(FlowViewMapping.prototype, "flowManager", {
get: function () {
return this._flowManager;
},
enumerable: false,
configurable: true
});
FlowViewMapping.prototype.toFloatingView = function (viewClass) {
this._flowManager.mapFloatingView(this._event, viewClass);
};
FlowViewMapping.prototype.toView = function (viewClass) {
this._flowManager.mapView(this._event, viewClass);
};
return FlowViewMapping;
}());
exports.FlowViewMapping = FlowViewMapping;
//# sourceMappingURL=FlowViewMapping.js.map