]> git.r.bdr.sh - rbdr/sumo/blob - lib/nodes/physical.js
Use Parcel (#5)
[rbdr/sumo] / lib / nodes / physical.js
1 import { Node } from '@serpentity/serpentity';
2
3 import BodyComponent from '../components/body';
4
5 /**
6 * Node identifying an entity that can interact with physics
7 *
8 * @extends {external:Serpentity.Node}
9 * @class PhysicalNode
10 */
11 export default class PhysicalNode extends Node {
12
13 };
14
15 /**
16 * Holds the types that are used to identify an entity with a physical
17 * body
18 *
19 * @property {object} types
20 * @name types
21 * @memberof PhysicalNode
22 */
23 PhysicalNode.types = {
24 body: BodyComponent
25 };
26