var Phaser; (function (Phaser) { /// /** * Phaser - Easing - Quartic * * For use with Phaser.Tween */ (function (Easing) { var Quartic = (function () { function Quartic() { } Quartic.In = function In(k) { return k * k * k * k; }; Quartic.Out = function Out(k) { return 1 - (--k * k * k * k); }; Quartic.InOut = function InOut(k) { if((k *= 2) < 1) { return 0.5 * k * k * k * k; } return -0.5 * ((k -= 2) * k * k * k - 2); }; return Quartic; })(); Easing.Quartic = Quartic; })(Phaser.Easing || (Phaser.Easing = {})); var Easing = Phaser.Easing; })(Phaser || (Phaser = {}));