X-Git-Url: https://git.r.bdr.sh/rbdr/sumo/blobdiff_plain/0616b3f00653c66b5e34814653e33413b9ec034e..2bb8e347ed38948e8a65a479d3c1f64b7f7a5d9b:/lib/nodes/renderable.js?ds=sidebyside diff --git a/lib/nodes/renderable.js b/lib/nodes/renderable.js index 0a3a111..12227a3 100644 --- a/lib/nodes/renderable.js +++ b/lib/nodes/renderable.js @@ -1,11 +1,9 @@ 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 + * Node identifying a renderable entity, should have a pixi renderable * * @extends {external:Serpentity.Node} * @class RenderableNode @@ -15,13 +13,12 @@ export default class RenderableNode extends Node { }; /** - * Holds the types that are used to identify a wave entity + * Holds the types that are used to identify a renderable entity * * @property {object} types * @name types - * @memberof WaveNode + * @memberof RenderableNode */ RenderableNode.types = { - position: PositionComponent, container: PixiContainerComponent };