com.badlogic.gdx.math
Class Interpolation.Bounce

java.lang.Object
  extended by com.badlogic.gdx.math.Interpolation
      extended by com.badlogic.gdx.math.Interpolation.BounceOut
          extended by com.badlogic.gdx.math.Interpolation.Bounce
Enclosing class:
Interpolation

public static class Interpolation.Bounce
extends Interpolation.BounceOut


Nested Class Summary
 
Nested classes/interfaces inherited from class com.badlogic.gdx.math.Interpolation
Interpolation.Bounce, Interpolation.BounceIn, Interpolation.BounceOut, Interpolation.Elastic, Interpolation.ElasticIn, Interpolation.ElasticOut, Interpolation.Exp, Interpolation.ExpIn, Interpolation.ExpOut, Interpolation.Pow, Interpolation.PowIn, Interpolation.PowOut, Interpolation.Swing, Interpolation.SwingIn, Interpolation.SwingOut
 
Field Summary
 
Fields inherited from class com.badlogic.gdx.math.Interpolation
bounce, bounceIn, bounceOut, circle, circleIn, circleOut, elastic, elasticIn, elasticOut, exp10, exp10In, exp10Out, exp5, exp5In, exp5Out, fade, linear, pow2, pow2In, pow2Out, pow3, pow3In, pow3Out, pow4, pow4In, pow4Out, pow5, pow5In, pow5Out, sine, sineIn, sineOut, swing, swingIn, swingOut
 
Constructor Summary
Interpolation.Bounce(float[] widths, float[] heights)
           
Interpolation.Bounce(int bounces)
           
 
Method Summary
 float apply(float a)
           
 
Methods inherited from class com.badlogic.gdx.math.Interpolation
apply
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interpolation.Bounce

public Interpolation.Bounce(float[] widths,
                            float[] heights)

Interpolation.Bounce

public Interpolation.Bounce(int bounces)
Method Detail

apply

public float apply(float a)
Overrides:
apply in class Interpolation.BounceOut
Parameters:
a - Alpha value between 0 and 1.


Copyright © 2014. All Rights Reserved.