UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

16 lines (12 loc) 416 B
import { StaticKnowledgeDataTable } from "../../../knowledge/database/StaticKnowledgeDataTable.js"; import { LineDescription } from "./LineDescription.js"; /** * @extends StaticKnowledgeDataTable<LineDescription> */ export class LineDescriptionTable extends StaticKnowledgeDataTable { parse(json) { const r = new LineDescription(); r.fromJSON(json); return r; } }