phaser/todo/TS Source/tweens/easing/Linear.js
2013-09-13 16:16:48 +01:00

34 lines
1 KiB
JavaScript

var Phaser;
(function (Phaser) {
/// <reference path="../../_definitions.ts" />
/**
* @author Richard Davey <rich@photonstorm.com>
* @author sole (http://soledadpenades.com), tween.js
* @copyright 2013 Photon Storm Ltd.
* @license https://github.com/photonstorm/phaser/blob/master/license.txt MIT License
* @module Phaser
*/
(function (Easing) {
/**
* Linear easing methods.
*
* @class Linear
*/
var Linear = (function () {
function Linear() { }
Linear.None = /**
* A Linear Ease only has a None method.
*
* @method None
* @param {Number} k The value to ease.
* @return {Number} The eased value.
*/
function None(k) {
return k;
};
return Linear;
})();
Easing.Linear = Linear;
})(Phaser.Easing || (Phaser.Easing = {}));
var Easing = Phaser.Easing;
})(Phaser || (Phaser = {}));