]> git.r.bdr.sh - rbdr/sumo/blame_incremental - lib/nodes/physical_with_attributes.js
Add Grab System (#9)
[rbdr/sumo] / lib / nodes / physical_with_attributes.js
... / ...
CommitLineData
1import { Node } from '@serpentity/serpentity';
2
3import AngleComponent from '../components/angle';
4import BodyComponent from '../components/body';
5import PositionComponent from '@serpentity/components.position';
6
7/**
8 * Node identifying an entity that can interact with physics and has
9 * components updated from its values
10 *
11 * @extends {external:Serpentity.Node}
12 * @class PhysicalWithAttributesNode
13 */
14export default class PhysicalWithAttributesNode extends Node {
15
16};
17
18/**
19 * Holds the types that are used to identify an entity with a physics
20 * object and external attributes
21 *
22 * @property {object} types
23 * @name types
24 * @memberof PhysicalWithAttributesNode
25 */
26PhysicalWithAttributesNode.types = {
27 angle: AngleComponent,
28 position: PositionComponent,
29 body: BodyComponent
30};
31