UNPKG

mylingo3d

Version:

Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor

14 lines (13 loc) 593 B
import { Point } from "@lincode/math"; import IEventLoop from "./IEventLoop"; import Defaults from "./utils/Defaults"; import { ExtractProps } from "./utils/extractProps"; import Nullable from "./utils/Nullable"; export default interface IJoystick extends IEventLoop { onMove: Nullable<(e: Point) => void>; onMoveStart: Nullable<(e: Point) => void>; onMoveEnd: Nullable<(e: Point) => void>; onPress: Nullable<(e: Point) => void>; } export declare const joystickSchema: Required<ExtractProps<IJoystick>>; export declare const joystickDefaults: Defaults<IJoystick>;