]> git.r.bdr.sh - rbdr/sumo/blame_incremental - lib/nodes/renderable_with_attributes.js
Update dependencies
[rbdr/sumo] / lib / nodes / renderable_with_attributes.js
... / ...
CommitLineData
1import { Node } from '@serpentity/serpentity';
2
3import AngleComponent from '@serpentity/components.angle';
4import PixiContainerComponent from '../components/pixi_container';
5import 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 */
14export 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 */
26RenderableWithAttributesNode.types = {
27 angle: AngleComponent,
28 position: PositionComponent,
29 container: PixiContainerComponent
30};