]> git.r.bdr.sh - rbdr/sumo/blame - lib/nodes/physical_with_external_force.js
Add Naive Game Rules (#11)
[rbdr/sumo] / lib / nodes / physical_with_external_force.js
CommitLineData
7ade6f8d
RBR
1import { Node } from '@serpentity/serpentity';
2
3import BodyComponent from '../components/body';
4import 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 */
12export 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 */
24PhysicalWithExternalForceNode.types = {
25 body: BodyComponent,
26 force: ForceComponent
27};