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