UNPKG

arx-level-generator

Version:
22 lines (21 loc) 544 B
import { ArxPath, ArxZoneAndPathPointType } from 'arx-convert/types'; import { Vector3 } from './Vector3.js'; export type PathPoint = { position: Vector3; type: ArxZoneAndPathPointType; time: number; }; type PathConstructorProps = { name: string; points: PathPoint[]; }; export declare class Path { name: string; points: PathPoint[]; constructor(props: PathConstructorProps); clone(): Path; static fromArxPath(path: ArxPath): Path; toArxPath(): ArxPath; move(offset: Vector3): void; } export {};