summaryrefslogtreecommitdiff
path: root/engine/components/Moment.ts
diff options
context:
space:
mode:
Diffstat (limited to 'engine/components/Moment.ts')
-rw-r--r--engine/components/Moment.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/engine/components/Moment.ts b/engine/components/Moment.ts
new file mode 100644
index 0000000..3d0dd2f
--- /dev/null
+++ b/engine/components/Moment.ts
@@ -0,0 +1,10 @@
+import { Component, ComponentNames } from ".";
+
+export class Moment extends Component {
+ public inertia: number;
+
+ constructor(inertia: number) {
+ super(ComponentNames.Moment);
+ this.inertia = inertia;
+ }
+}