]> git.r.bdr.sh - rbdr/sumo/blob - lib/nodes/physical_with_external_force.js
Add Naive Game Rules (#11)
[rbdr/sumo] / lib / nodes / physical_with_external_force.js
1 import { Node } from '@serpentity/serpentity';
2
3 import BodyComponent from '../components/body';
4 import ForceComponent from '../components/force';
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
14 };
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 };