Class: Phaser.Easing.Quartic

Constructor

new Quartic()

Quartic easing.

Source code: tween/Easing.js (Line 141)

Public Methods

In(k) → {number}

Quartic ease-in.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

Source code: tween/Easing.js (Line 143)

InOut(k) → {number}

Quartic ease-in/out.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

Source code: tween/Easing.js (Line 169)

Out(k) → {number}

Quartic ease-out.

Parameters
Name Type Description
k number

The value to be tweened.

Returns
number -

The tweened value.

Source code: tween/Easing.js (Line 156)

© 2016 Richard Davey, Photon Storm Ltd.
Licensed under the MIT License.
http://phaser.io/docs/2.6.2/Phaser.Easing.Quartic.html