cleaner approach to disable activatablesManager distance check if space-event

This commit is contained in:
Hanusiak Piotr
2022-02-07 14:22:43 +01:00
parent 81272fbb3c
commit d480150728
5 changed files with 15 additions and 5 deletions
@@ -9,4 +9,7 @@ export interface UserInputHandlerInterface {
handlePointerUpEvent: (pointer: Phaser.Input.Pointer, gameObjects: Phaser.GameObjects.GameObject[]) => void;
handlePointerDownEvent: (pointer: Phaser.Input.Pointer, gameObjects: Phaser.GameObjects.GameObject[]) => void;
handleSpaceKeyUpEvent: (event: Event) => Event;
addSpaceEventListener: (callback: Function) => void;
removeSpaceEventListner: (callback: Function) => void;
}