From 7741a3cc37662ab2ff9606bdaffc0317b79a8dd9 Mon Sep 17 00:00:00 2001 From: Ben Beltran Date: Mon, 9 Mar 2020 15:02:35 -0500 Subject: Use new lib components --- lib/components/force.js | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 lib/components/force.js (limited to 'lib/components/force.js') diff --git a/lib/components/force.js b/lib/components/force.js deleted file mode 100644 index f0e460c..0000000 --- a/lib/components/force.js +++ /dev/null @@ -1,43 +0,0 @@ -import { Component } from '@serpentity/serpentity'; - -/** - * Component that stores a force vector - * - * @extends {external:Serpentity.Component} - * @class ForceComponent - * @param {object} config a configuration object to extend. - */ -export default class ForceComponent extends Component { - constructor(config) { - - super(config); - - /** - * The properthy that holds the x component of the vector - * - * @property {number} x - * @instance - * @memberof AngleComponent - */ - this.x = this.x || 0; - - /** - * The properthy that holds the y component of the vector - * - * @property {number} y - * @instance - * @memberof AngleComponent - */ - - this.y = this.y || 0; - /** - * The properthy that holds the z component of the vector - * - * @property {number} z - * @instance - * @memberof AngleComponent - */ - this.z = this.z || 0; - } -}; - -- cgit