]> git.r.bdr.sh - rbdr/sumo/blame_incremental - lib/nodes/controllable.js
Add control via keyboard (#6)
[rbdr/sumo] / lib / nodes / controllable.js
... / ...
CommitLineData
1import { Node } from '@serpentity/serpentity';
2
3import 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 */
11export 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 */
22ControllableNode.types = {
23 controlMap: ControlMapComponent
24};