Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const entity_1 = require("../components/entities/entity"); entity_1.Entity.prototype.moveX = function (frameTime, value) { this.x += this.getCalculatedValue(frameTime, value); }; entity_1.Entity.prototype.moveY = function (frameTime, value) { this.y += this.getCalculatedValue(frameTime, value); }; entity_1.Entity.prototype.scaleTo = function (frameTime, value) { this.scale += this.getCalculatedValue(frameTime, value); }; entity_1.Entity.prototype.rotateTo = function (frameTime, value) { this.rotation += this.getCalculatedValue(frameTime, value); }; |