]>
Commit | Line | Data |
---|---|---|
7ade6f8d RBR |
1 | import { Node } from '@serpentity/serpentity'; |
2 | ||
3 | import BodyComponent from '../components/body'; | |
7741a3cc | 4 | import ForceComponent from '@serpentity/components.force'; |
7ade6f8d RBR |
5 | |
6 | /** | |
7 | * Node identifying an entity that has externally applied force | |
8 | * | |
9 | * @extends {external:Serpentity.Node} | |
10 | * @class PhysicalWithExternalForceNode | |
11 | */ | |
12 | export default class PhysicalWithExternalForceNode extends Node { | |
13 | ||
7741a3cc | 14 | } |
7ade6f8d RBR |
15 | |
16 | /** | |
17 | * Holds the types that are used to identify an entity with a physical | |
18 | * body | |
19 | * | |
20 | * @property {object} types | |
21 | * @name types | |
22 | * @memberof PhysicalWithExternalForceNode | |
23 | */ | |
24 | PhysicalWithExternalForceNode.types = { | |
25 | body: BodyComponent, | |
26 | force: ForceComponent | |
27 | }; |