]> git.r.bdr.sh - rbdr/sumo/blob - lib/nodes/dasher.js
Use new lib components
[rbdr/sumo] / lib / nodes / dasher.js
1 import { Node } from '@serpentity/serpentity';
2
3 import BodyComponent from '../components/body';
4 import DashComponent from '../components/dash';
5 import ForceComponent from '@serpentity/components.force';
6
7 /**
8 * Node identifying an entity that has a control mapping
9 *
10 * @extends {external:Serpentity.Node}
11 * @class DasherNode
12 */
13 export default class DasherNode extends Node {
14
15 }
16
17 /**
18 * Holds the types that are used to identify a dasher entity
19 *
20 * @property {object} types
21 * @name types
22 * @memberof DasherNode
23 */
24 DasherNode.types = {
25 body: BodyComponent,
26 dash: DashComponent,
27 force: ForceComponent
28 };
29