Class: Elastic

Phaser.Easing. Elastic

new Elastic()

Elastic easing.

Source - tween/Easing.js, line 382

Methods

In(k) → {number}

Elastic ease-in.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 389

InOut(k) → {number}

Elastic ease-in/out.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 425

Out(k) → {number}

Elastic ease-out.

Parameters:
Name Type Description
k number

The value to be tweened.

Returns:
number -

The tweened value.

Source - tween/Easing.js, line 407
Phaser Copyright © 2012-2014 Photon Storm Ltd.
Documentation generated by JSDoc 3.3.0-dev on Sat Nov 15 2014 19:54:35 GMT-0000 (GMT) using the DocStrap template.