org.gicentre.utils.network.traer.animation
Interface Tickable

All Known Implementing Classes:
Animator, Smoother, Smoother2D, Smoother3D

public interface Tickable

Defines the behaviour of all tickable smoothers that can be advanced over time.

Version:
31st July 2012.
Author:
Jeffrey Traer Bernstein with Minor Modifications by Jo Wood.

Method Summary
 void setSmoothness(float smoothness)
          Should set the smoothness value that determines the rate of transition towards a target.
 void tick()
          Should advance the time used by the smoother to move towards its target.
 

Method Detail

tick

void tick()
Should advance the time used by the smoother to move towards its target.


setSmoothness

void setSmoothness(float smoothness)
Should set the smoothness value that determines the rate of transition towards a target.

Parameters:
smoothness - The smoothness of the transition towards a target. It is scaled between 0 and 1. A value of 0 has abrupt changes, 1 is very smooth. A value of 0.9 gives nice workable smoothness for typical animations.


giCentre Utilities V.3.3, API documentation generated 6th April, 2013