UNPKG

superpowers-game-ftext-plugin

Version:

Generic text asset for the Superpowers Game system of Superpowers, the extensible HTML5 2D+3D game engine.

7 lines (5 loc) 261 B
var fs = require("fs"); SupCore.system.registerPlugin("typescriptAPI", "fText", { code: fs.readFileSync(__dirname+"/fText.ts", { encoding: "utf8" }).replace("<reference path=", ""), defs: fs.readFileSync(__dirname+"/fText.d.ts", { encoding: "utf8" }), });