UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

67 lines 1.47 kB
export class EntityPath { /** * * @type {EntityPathStyle} */ style: EntityPathStyle; /** * * @type {Path} */ path: Path; /** * * @type {EntityPathMarker[]} */ markers: EntityPathMarker[]; /** * * @param {Path} path */ setPath(path: Path): void; /** * * @returns {Path} */ getPath(): Path; /** * @param {EntityPathStyle} style */ setStyle(style: EntityPathStyle): void; /** * * @returns {EntityPathStyle} */ getStyle(): EntityPathStyle; /** * * @param {number} offset * @param {EntityPathMarkerDefinition} def * @private */ private __build_marker; /** * * @param {EntityPathMarker} marker * @private */ private __position_marker; updateMarkerPositions(): void; build(): void; /** * * @param {number} offset * @param {function(EntityPathMarker)} callback * @param {*} [thisArg] */ visitMarkersAfter(offset: number, callback: (arg0: EntityPathMarker) => any, thisArg?: any): void; /** * * @param {number} offset * @param {function(EntityPathMarker)} callback * @param {*} [thisArg] */ visitMarkersBefore(offset: number, callback: (arg0: EntityPathMarker) => any, thisArg?: any): void; } import { EntityPathMarker } from "./EntityPathMarker.js"; //# sourceMappingURL=EntityPath.d.ts.map