Improving typings of VirtualJoystick

This commit is contained in:
David Négrier 2021-12-16 10:04:55 +01:00
parent fa2e583d48
commit 98d3a58861
4 changed files with 37 additions and 27 deletions

View file

@ -1,8 +1,8 @@
import type { Direction } from "../../types";
import type { GameScene } from "../Game/GameScene";
import { touchScreenManager } from "../../Touch/TouchScreenManager";
import { MobileJoystick } from "../Components/MobileJoystick";
import { enableUserInputsStore } from "../../Stores/UserInputStore";
import type { Direction } from "phaser3-rex-plugins/plugins/virtualjoystick.js";
interface UserInputManagerDatum {
keyInstance: Phaser.Input.Keyboard.Key;