aboutsummaryrefslogtreecommitdiff
path: root/lib/nodes/limited_velocity.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nodes/limited_velocity.js')
-rw-r--r--lib/nodes/limited_velocity.js26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/nodes/limited_velocity.js b/lib/nodes/limited_velocity.js
new file mode 100644
index 0000000..554f68c
--- /dev/null
+++ b/lib/nodes/limited_velocity.js
@@ -0,0 +1,26 @@
+import { Node } from '@serpentity/serpentity';
+
+import BodyComponent from '../components/body';
+import MaxVelocityComponent from '../components/max_velocity';
+
+/**
+ * Node identifying an entity that is a limited velocity physical body
+ *
+ * @extends {external:Serpentity.Node}
+ * @class LimitedVelocityNode
+ */
+export default class LimitedVelocityNode extends Node {
+
+};
+
+/**
+ * Holds the types that are used to identify a limited velocity entity
+ *
+ * @property {object} types
+ * @name types
+ * @memberof LimitedVelocityNode
+ */
+LimitedVelocityNode.types = {
+ body: BodyComponent,
+ maxVelocity: MaxVelocityComponent
+};