arx-level-generator
Version:
A tool for creating Arx Fatalis maps
22 lines (21 loc) • 544 B
TypeScript
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 {};