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