aboutsummaryrefslogtreecommitdiff
path: root/lib/nodes/dasher.js
blob: 9662c686da2a38ba28975865bdd4bd966c1a266f (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
28
29
import { Node } from '@serpentity/serpentity';

import BodyComponent from '../components/body';
import DashComponent from '../components/dash';
import ForceComponent from '../components/force';

/**
 * Node identifying an entity that has a control mapping
 *
 * @extends {external:Serpentity.Node}
 * @class DasherNode
 */
export default class DasherNode extends Node {

};

/**
 * Holds the types that are used to identify a dasher entity
 *
 * @property {object} types
 * @name types
 * @memberof DasherNode
 */
DasherNode.types = {
  body: BodyComponent,
  dash: DashComponent,
  force: ForceComponent
};