summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth (Lizzy) Hunt <elizabeth.hunt@simponic.xyz>2023-08-03 21:35:17 -0600
committerGitHub <noreply@github.com>2023-08-03 21:35:17 -0600
commite39b316e91e52c92c676fa2cd1acaf6c9a3e3d28 (patch)
tree9912d7befc49bec51b54b10540653efbad575539
parent619a039942c3c02552f72275634a9f6c0788c570 (diff)
downloadjumpstorm-e39b316e91e52c92c676fa2cd1acaf6c9a3e3d28.tar.gz
jumpstorm-e39b316e91e52c92c676fa2cd1acaf6c9a3e3d28.zip
Add a TODO that I thought of while at parents'
-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>;