Fix to use clear All Keys
This commit is contained in:
parent
64cd07cc39
commit
b92b7304b0
5 changed files with 9 additions and 5 deletions
|
@ -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 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue