UNPKG

@spibo-studio/spibo-studio

Version:

Spibo Studio is an HTML Canvas Library for creating adventure games

23 lines 718 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var CanvasImageSprite = /** @class */ (function () { function CanvasImageSprite(name, width, height, position) { this.name = name; this.width = width; this.height = height; this.position = position; } Object.defineProperty(CanvasImageSprite.prototype, "pos", { get: function () { return this.position; }, set: function (position) { this.position = position; }, enumerable: false, configurable: true }); return CanvasImageSprite; }()); exports.default = CanvasImageSprite; //# sourceMappingURL=CanvasImageSprite.js.map