UNPKG

arx-convert

Version:

Converts various Arx Fatalis formats to JSON or YAML and back

11 lines (10 loc) 327 B
import { BinaryIO } from '../common/BinaryIO.js'; import { type ArxPolygon } from './Polygon.js'; export type ArxCell = { polygons: ArxPolygon[]; anchors?: number[]; }; export declare class Cell { static readFrom(binary: BinaryIO<ArrayBufferLike>): ArxCell; static accumulateFrom(cell: ArxCell): ArrayBuffer; }