UNPKG

contro-max

Version:

Game controls done in the best possible way!

7 lines (6 loc) 366 B
export type MovementAction = [coordinate: 'x' | 'y' | 'z', step: number]; export declare const keysMovementConfig: MovementAction[]; type MobileControlsConfig = Array<[label: string, rotate: number, movementAction: MovementAction | MovementAction[]]>; /** Left part of touch controls */ export declare const touchLeftControlsConfig: MobileControlsConfig; export {};