]> git.r.bdr.sh - rbdr/sumo/blob - lib/nodes/renderable.js
5cf0fad006d3d288d695aa0de3e515b70a95582a
[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 };