+import { Component } from '@serpentity/serpentity';
+
+/*
+ * Position component, stores the location of an object in x, y and z
+ * Public members:
+ * -x <Number> // the position along the x axis
+ * -y <Number> // the position along the y axis
+ * -z <Number> // the position along the z axis
+ */
+export default class Position extends Component {
+ constructor(config) {
+
+ super(config)
+
+ this.x = this.x || 0;
+ this.y = this.y || 0;
+ this.z = this.z || 0;
+ }
+};