Add a TODO that I thought of while at parents'
This commit is contained in:
parent
619a039942
commit
e39b316e91
@ -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>;
|
||||||
|
Loading…
Reference in New Issue
Block a user