net.sf.freecol.client.gui.animation
Class UnitImageAnimation

java.lang.Object
  extended by net.sf.freecol.client.gui.animation.UnitImageAnimation

public final class UnitImageAnimation
extends java.lang.Object

Class for the animation of units movement.


Constructor Summary
UnitImageAnimation(Canvas canvas, Unit unit, SimpleZippedAnimation animation, Map.Direction direction)
          Constructor
 
Method Summary
 void animate()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitImageAnimation

public UnitImageAnimation(Canvas canvas,
                          Unit unit,
                          SimpleZippedAnimation animation,
                          Map.Direction direction)
Constructor

Parameters:
canvas - The canvas where the animation will be drawn
unit - The unit to be animated.
animation - The animation.
direction - The Direction of the animation (if applicable).
Method Detail

animate

public void animate()