aboutsummaryrefslogtreecommitdiff
path: root/client/lib/components/Forces.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/lib/components/Forces.ts')
-rw-r--r--client/lib/components/Forces.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/client/lib/components/Forces.ts b/client/lib/components/Forces.ts
deleted file mode 100644
index bf540a1..0000000
--- a/client/lib/components/Forces.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-import type { Accel2D, Force2D } from "../interfaces";
-import { Component } from "./Component";
-import { ComponentNames } from ".";
-
-/**
- * A list of forces and torque, (in newtons, and newton-meters respectively)
- * to apply on one Physics system update (after which, they are cleared).
- */
-export class Forces extends Component {
- public forces: Force2D[];
-
- constructor(forces?: Force2D[]) {
- super(ComponentNames.Forces);
-
- this.forces = forces ?? [];
- }
-}