aboutsummaryrefslogtreecommitdiff
path: root/lib/components/up.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/components/up.js')
-rw-r--r--lib/components/up.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/components/up.js b/lib/components/up.js
new file mode 100644
index 0000000..f28cc20
--- /dev/null
+++ b/lib/components/up.js
@@ -0,0 +1,12 @@
+import { Component } from '@serpentity/serpentity';
+
+export default class Up extends Component {
+ constructor(config) {
+
+ super(config);
+
+ this.x = this.x || 0;
+ this.y = this.y || 1;
+ this.z = this.z || 0;
+ }
+};