Fix to use clear All Keys

This commit is contained in:
Gregoire Parant 2021-02-11 21:48:24 +01:00
parent 64cd07cc39
commit b92b7304b0
5 changed files with 9 additions and 5 deletions

View file

@ -59,10 +59,14 @@ export class UserInputManager {
];
}
clearAllInputKeyboard(){
clearAllListeners(){
this.Scene.input.keyboard.removeAllListeners();
}
clearAllKeys(){
this.Scene.input.keyboard.removeAllKeys();
}
getEventListForGameTick(): ActiveEventList {
const eventsMap = new ActiveEventList();
this.KeysCode.forEach(d => {