]> git.r.bdr.sh - rbdr/sumo/blame - lib/nodes/renderable.js
Render Sumo (#3)
[rbdr/sumo] / lib / nodes / renderable.js
CommitLineData
0616b3f0
RBR
1import { Node } from '@serpentity/serpentity';
2
3import PixiContainerComponent from '../components/pixi_container';
4import 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 */
13export 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 */
24RenderableNode.types = {
25 position: PositionComponent,
26 container: PixiContainerComponent
27};