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

import ControlMapComponent from '../components/control_map';

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

}

/**
 * Holds the types that are used to identify a controllable entity
 *
 * @property {object} types
 * @name types
 * @memberof ControllableNode
 */
ControllableNode.types = {
  controlMap: ControlMapComponent
};