guru.animator
Class SquareAnimator

java.lang.Object
  extended by guru.animator.SquareAnimator
All Implemented Interfaces:
Animator

public class SquareAnimator
extends java.lang.Object
implements Animator


Constructor Summary
SquareAnimator(long dur, float start, float end)
           
 
Method Summary
 float get()
           
 boolean isDone()
           
 boolean isRunning()
           
 void reset()
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquareAnimator

public SquareAnimator(long dur,
                      float start,
                      float end)
Method Detail

start

public void start()
Specified by:
start in interface Animator

get

public float get()
Specified by:
get in interface Animator

isRunning

public boolean isRunning()
Specified by:
isRunning in interface Animator

reset

public void reset()
Specified by:
reset in interface Animator

isDone

public boolean isDone()
Specified by:
isDone in interface Animator