]>
Commit | Line | Data |
---|---|---|
1 | import { Node } from '@serpentity/serpentity'; | |
2 | ||
3 | import AngleComponent from '../components/angle'; | |
4 | import PixiContainerComponent from '../components/pixi_container'; | |
5 | import PositionComponent from '@serpentity/components.position'; | |
6 | ||
7 | /** | |
8 | * Node identifying a renderable entity, should have position and a | |
9 | * symbol to render | |
10 | * | |
11 | * @extends {external:Serpentity.Node} | |
12 | * @class RenderableWithAttributesNode | |
13 | */ | |
14 | export default class RenderableWithAttributesNode extends Node { | |
15 | ||
16 | }; | |
17 | ||
18 | /** | |
19 | * Holds the types that are used to identify a renderable with external | |
20 | * attributes | |
21 | * | |
22 | * @property {object} types | |
23 | * @name types | |
24 | * @memberof RenderableWithAttributesNode | |
25 | */ | |
26 | RenderableWithAttributesNode.types = { | |
27 | angle: AngleComponent, | |
28 | position: PositionComponent, | |
29 | container: PixiContainerComponent | |
30 | }; |