@ayanaware/bento
Version:
Modular runtime framework designed to solve complex tasks
16 lines • 487 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ComponentAPI = void 0;
const EntityAPI_1 = require("./EntityAPI");
/**
* The gateway of a component to the rest of the application.
* Each component gets one if loaded.
*/
class ComponentAPI extends EntityAPI_1.EntityAPI {
constructor(bento, component) {
super(bento);
this.entity = component;
}
}
exports.ComponentAPI = ComponentAPI;
//# sourceMappingURL=ComponentAPI.js.map