]> git.r.bdr.sh - rbdr/sumo/blob - lib/nodes/renderable.js
Use new lib components
[rbdr/sumo] / lib / nodes / renderable.js
1 import { Node } from '@serpentity/serpentity';
2
3 import PixiContainerComponent from '../components/pixi_container';
4
5 /**
6 * Node identifying a renderable entity, should have a pixi renderable
7 *
8 * @extends {external:Serpentity.Node}
9 * @class RenderableNode
10 */
11 export default class RenderableNode extends Node {
12
13 }
14
15 /**
16 * Holds the types that are used to identify a renderable entity
17 *
18 * @property {object} types
19 * @name types
20 * @memberof RenderableNode
21 */
22 RenderableNode.types = {
23 container: PixiContainerComponent
24 };