import { Component } from '@serpentity/serpentity'; /* * Acceleration component, stores the components of a acceleration vector * Public members: * -x // the x component of acceleration vector * -y // the y component of acceleration vector * -z // the z component of acceleration vector */ export default class Acceleration extends Component { constructor(config) { super(config) this.x = this.x || 0; this.y = this.y || 0; this.z = this.z || 0; } };