]>
Commit | Line | Data |
---|---|---|
0616b3f0 RBR |
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 | }; |