cr fixes
This commit is contained in:
parent
e0e1a7e76a
commit
9e5d8f5d9c
6 changed files with 34 additions and 9571 deletions
|
@ -19,7 +19,7 @@ export class GameSceneUserInputHandler implements UserInputHandlerInterface {
|
|||
}
|
||||
|
||||
public handlePointerUpEvent(pointer: Phaser.Input.Pointer, gameObjects: Phaser.GameObjects.GameObject[]): void {
|
||||
if (pointer.rightButtonReleased()) {
|
||||
if (pointer.rightButtonReleased() || pointer.getDuration() > 250) {
|
||||
return;
|
||||
}
|
||||
const camera = this.gameScene.getCameraManager().getCamera();
|
||||
|
@ -49,6 +49,8 @@ export class GameSceneUserInputHandler implements UserInputHandlerInterface {
|
|||
});
|
||||
}
|
||||
|
||||
public handlePointerDownEvent(pointer: Phaser.Input.Pointer, gameObjects: Phaser.GameObjects.GameObject[]): void {}
|
||||
|
||||
public handleSpaceKeyUpEvent(event: Event): Event {
|
||||
this.gameScene.activateOutlinedItem();
|
||||
return event;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue