aboutsummaryrefslogtreecommitdiff
path: root/lib/nodes/renderable.js
blob: 0a3a1117c4ff160535255793c8103f97be3e2479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import { Node } from '@serpentity/serpentity';

import PixiContainerComponent from '../components/pixi_container';
import PositionComponent from '@serpentity/components.position';

/**
 * Node identifying a renderable entity, should have position and a
 * symbol to render
 *
 * @extends {external:Serpentity.Node}
 * @class RenderableNode
 */
export default class RenderableNode extends Node {

};

/**
 * Holds the types that are used to identify a wave entity
 *
 * @property {object} types
 * @name types
 * @memberof WaveNode
 */
RenderableNode.types = {
  position: PositionComponent,
  container: PixiContainerComponent
};