]> git.r.bdr.sh - rbdr/sumo/blob - lib/nodes/controllable.js
Draw the Arena (#7)
[rbdr/sumo] / lib / nodes / controllable.js
1 import { Node } from '@serpentity/serpentity';
2
3 import ControlMapComponent from '../components/control_map';
4
5 /**
6 * Node identifying an entity that has a control mapping
7 *
8 * @extends {external:Serpentity.Node}
9 * @class ControllableNode
10 */
11 export default class ControllableNode extends Node {
12
13 };
14
15 /**
16 * Holds the types that are used to identify a controllable entity
17 *
18 * @property {object} types
19 * @name types
20 * @memberof ControllableNode
21 */
22 ControllableNode.types = {
23 controlMap: ControlMapComponent
24 };