UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

12 lines (9 loc) 489 B
import {PathDisplayType} from "./PathDisplayType"; import {EntityPathStyle} from "./entity/EntityPathStyle"; import {RibbonPathStyle} from "./ribbon/RibbonPathStyle"; import {TubePathStyle} from "./tube/TubePathStyle"; export class PathDisplaySpec { public type: PathDisplayType public style: EntityPathStyle | RibbonPathStyle | TubePathStyle static from(type: PathDisplayType | string, style: EntityPathStyle | RibbonPathStyle | TubePathStyle): PathDisplaySpec }