]> git.r.bdr.sh - rbdr/sumo/blame_incremental - lib/components/pixi_container.js
Deploy to Pages
[rbdr/sumo] / lib / components / pixi_container.js
... / ...
CommitLineData
1import { Component } from '@serpentity/serpentity';
2
3/**
4 * Component that stores a pixi container
5 *
6 * @extends {external:Serpentity.Component}
7 * @class PixiContainerComponent
8 * @param {object} config a configuration object to extend.
9 */
10export default class PixiContainerComponent extends Component {
11 constructor(config) {
12
13 super(config);
14
15 /**
16 * The properthy that holds the pixi container
17 *
18 * @property {external:PixiJs.Container} container
19 * @name container
20 * @instance
21 * @memberof PixiContainerComponent
22 */
23 this.container = this.container || null;
24 }
25};