Update Input.ts

This commit is contained in:
Elizabeth Hunt 2023-08-03 21:36:04 -06:00 committed by GitHub
parent e39b316e91
commit b67ffb57c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,6 +14,7 @@ import { System, SystemNames } from "./";
/** /**
* TODO: Make velocities reset on each game loop (as similar to acceleration) * TODO: Make velocities reset on each game loop (as similar to acceleration)
* - Then, we can add / remove velocity on update instead of just setting it and praying it's not modified externally
*/ */
export class Input extends System { export class Input extends System {
private keys: Set<string>; private keys: Set<string>;