summaryrefslogtreecommitdiff
path: root/engine/systems/Input.ts
diff options
context:
space:
mode:
Diffstat (limited to 'engine/systems/Input.ts')
-rw-r--r--engine/systems/Input.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/systems/Input.ts b/engine/systems/Input.ts
index 9a92163..eefb334 100644
--- a/engine/systems/Input.ts
+++ b/engine/systems/Input.ts
@@ -12,6 +12,9 @@ import type { Entity } from "../entities";
import { Action } from "../interfaces";
import { System, SystemNames } from "./";
+/**
+ * TODO: Make velocities reset on each game loop (as similar to acceleration)
+ */
export class Input extends System {
private keys: Set<string>;
private actionTimeStamps: Map<Action, number>;