import { Node } from '@serpentity/serpentity'; import AngleComponent from '@serpentity/components.angle'; import BodyComponent from '../components/body'; import PositionComponent from '@serpentity/components.position'; /** * Node identifying an entity that can interact with physics and has * components updated from its values * * @extends {external:Serpentity.Node} * @class PhysicalWithAttributesNode */ export default class PhysicalWithAttributesNode extends Node { } /** * Holds the types that are used to identify an entity with a physics * object and external attributes * * @property {object} types * @name types * @memberof PhysicalWithAttributesNode */ PhysicalWithAttributesNode.types = { angle: AngleComponent, position: PositionComponent, body: BodyComponent };