X-Git-Url: https://git.r.bdr.sh/rbdr/sumo/blobdiff_plain/0616b3f00653c66b5e34814653e33413b9ec034e..refs/heads/main:/lib/nodes/renderable.js?ds=sidebyside diff --git a/lib/nodes/renderable.js b/lib/nodes/renderable.js index 0a3a111..5cf0fad 100644 --- a/lib/nodes/renderable.js +++ b/lib/nodes/renderable.js @@ -1,27 +1,24 @@ 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 */ 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 };