aboutsummaryrefslogtreecommitdiff
path: root/lib/nodes/controllable.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nodes/controllable.js')
-rw-r--r--lib/nodes/controllable.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/nodes/controllable.js b/lib/nodes/controllable.js
new file mode 100644
index 0000000..bb6f3b3
--- /dev/null
+++ b/lib/nodes/controllable.js
@@ -0,0 +1,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
+};