UNPKG

@woosh/meep-engine

Version:

Pure JavaScript game engine. Fully featured and production ready.

33 lines (27 loc) 551 B
import { assert } from "../../assert.js"; export class Mark { /** * * @type {number} */ memoryUsage = 0; /** * @template D * @param {number} index * @param {D} description * @constructor */ constructor(index, description) { assert.isNumber(index, 'index'); /** * * @type {number} */ this.index = index; /** * * @type {D} */ this.description = description; } }