basic state switching from loading to running to editing
This commit is contained in:
@@ -53,7 +53,9 @@ export class InputManager {
|
||||
}
|
||||
|
||||
offKey(key: string | number) {
|
||||
const events = this.keyEvents.get(key);
|
||||
this.keyEvents.delete(key);
|
||||
return events;
|
||||
}
|
||||
offMouse(key: string | number) {
|
||||
this.mouseEvents.delete(key);
|
||||
|
Reference in New Issue
Block a user