aboutsummaryrefslogtreecommitdiff
path: root/lib/components/force.js
diff options
context:
space:
mode:
authorBen Beltran <ben@nsovocal.com>2020-03-09 15:02:35 -0500
committerBen Beltran <ben@nsovocal.com>2020-03-09 15:02:35 -0500
commit7741a3cc37662ab2ff9606bdaffc0317b79a8dd9 (patch)
tree1bee45d2821debe3c6e7e2ab40250218d251097a /lib/components/force.js
parentbb8d5ef47baf7ad16a1bc58526f81ce332b090d6 (diff)
Use new lib componentsHEADmain
Diffstat (limited to 'lib/components/force.js')
-rw-r--r--lib/components/force.js43
1 files changed, 0 insertions, 43 deletions
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;
- }
-};
-