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