created interface to implement for UserInputManager
This commit is contained in:
parent
b1cad1e5d3
commit
173d10738d
4 changed files with 90 additions and 44 deletions
10
front/src/Interfaces/UserInputHandlerInterface.ts
Normal file
10
front/src/Interfaces/UserInputHandlerInterface.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
export interface UserInputHandlerInterface {
|
||||
handleMouseWheelEvent: (
|
||||
pointer: Phaser.Input.Pointer,
|
||||
gameObjects: Phaser.GameObjects.GameObject[],
|
||||
deltaX: number,
|
||||
deltaY: number,
|
||||
deltaZ: number
|
||||
) => void;
|
||||
handleSpaceKeyUpEvent: (event: Event) => Event;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue