]> git.r.bdr.sh - rbdr/sumo/blame - lib/components/coupled_entities.js
Update dependencies
[rbdr/sumo] / lib / components / coupled_entities.js
CommitLineData
493ec31c
RBR
1import { Component } from '@serpentity/serpentity';
2
3/**
4 * Component that stores a number of entities coupled to this one.
5 *
6 * @extends {external:Serpentity.Component}
7 * @class CoupledEntitiesComponent
8 * @param {object} config a configuration object to extend.
9 */
10export default class CoupledEntitiesComponent extends Component {
11 constructor(config) {
12
13 super(config);
14
15 /**
16 * An array of coupled entities
17 *
18 * @property {Array<external:Serpentity.Entity>} coupledEntities
19 * @instance
20 * @memberof CoupledEntitiesComponent
21 */
22 this.coupledEntities = this.coupledEntities || [];
23 }
7741a3cc 24}
493ec31c 25