lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
18 lines (17 loc) • 805 B
TypeScript
import IJoystick from "../interface/IJoystick";
import { Point } from "@lincode/math";
import Nullable from "../interface/utils/Nullable";
import Appendable from "../display/core/Appendable";
export default class Joystick extends Appendable implements IJoystick {
static componentName: string;
static defaults: Partial<import("../interface/utils/Defaults").default<IJoystick>>;
static schema: Required<import("../interface/utils/extractProps").ExtractProps<IJoystick>>;
static includeKeys: string[];
onMove: Nullable<(e: Point) => void>;
onMoveStart: Nullable<(e: Point) => void>;
onMoveEnd: Nullable<(e: Point) => void>;
private onPressState;
get onPress(): ((e: Point) => void) | undefined;
set onPress(cb: ((e: Point) => void) | undefined);
constructor();
}