blob: c98f1651a5152075500999cdbe1ef4493db48786 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
import { Component } from '@serpentity/serpentity';
/**
* Component that stores a pixi container
*
* @extends {external:Serpentity.Component}
* @class PixiContainerComponent
* @param {object} config a configuration object to extend.
*/
export default class PixiContainerComponent extends Component {
constructor(config) {
super(config);
/**
* The properthy that holds the pixi container
*
* @property {external:PixiJs.Container} container
* @name container
* @instance
* @memberof PixiContainerComponent
*/
this.container = this.container || null;
}
}
|