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