Add a TODO that I thought of while at parents'

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

View File

@ -12,6 +12,9 @@ import type { Entity } from "../entities";
import { Action } from "../interfaces"; import { Action } from "../interfaces";
import { System, SystemNames } from "./"; import { System, SystemNames } from "./";
/**
* TODO: Make velocities reset on each game loop (as similar to acceleration)
*/
export class Input extends System { export class Input extends System {
private keys: Set<string>; private keys: Set<string>;
private actionTimeStamps: Map<Action, number>; private actionTimeStamps: Map<Action, number>;