]> git.r.bdr.sh - rbdr/sumo/blame_incremental - lib/nodes/dasher.js
Add Naive Game Rules (#11)
[rbdr/sumo] / lib / nodes / dasher.js
... / ...
CommitLineData
1import { Node } from '@serpentity/serpentity';
2
3import BodyComponent from '../components/body';
4import DashComponent from '../components/dash';
5import ForceComponent from '../components/force';
6
7/**
8 * Node identifying an entity that has a control mapping
9 *
10 * @extends {external:Serpentity.Node}
11 * @class DasherNode
12 */
13export 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 */
24DasherNode.types = {
25 body: BodyComponent,
26 dash: DashComponent,
27 force: ForceComponent
28};
29