UNPKG

mdx-m3-viewer

Version:

A browser WebGL model viewer. Mainly focused on models of the games Warcraft 3 and Starcraft 2.

17 lines 518 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const lstate_1 = require("fengari/src/lstate"); /** * A thread. */ class Thread { constructor(L, data) { this.sleep = 0; this.L = (0, lstate_1.lua_newthread)(L); this.expiredTimer = data.expiredTimer || null; this.triggerUnit = data.triggerUnit || null; this.triggeringTrigger = data.triggeringTrigger || null; } } exports.default = Thread; //# sourceMappingURL=thread.js.map