mirror of
https://github.com/photonstorm/phaser
synced 2024-12-24 03:53:28 +00:00
35 lines
1 KiB
JavaScript
35 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 = {}));
|