lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
13 lines (12 loc) • 577 B
TypeScript
import { Point } from "@lincode/math";
import IAppendable from "./IAppendable";
import { ExtractProps } from "./utils/extractProps";
import Nullable from "./utils/Nullable";
export default interface IJoystick extends IAppendable {
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: Partial<import("./utils/Defaults").default<IJoystick>>;