1 import { Node
} from '@serpentity/serpentity';
3 import AngleComponent
from '../components/angle';
4 import BodyComponent
from '../components/body';
5 import PositionComponent
from '@serpentity/components.position';
8 * Node identifying an entity that can interact with physics and has
9 * components updated from its values
11 * @extends {external:Serpentity.Node}
12 * @class PhysicalWithAttributesNode
14 export default class PhysicalWithAttributesNode
extends Node
{
19 * Holds the types that are used to identify an entity with a physics
20 * object and external attributes
22 * @property {object} types
24 * @memberof PhysicalWithAttributesNode
26 PhysicalWithAttributesNode
.types
= {
27 angle: AngleComponent
,
28 position: PositionComponent
,