net.sf.freecol.client.gui
Interface OutForAnimationCallback


public interface OutForAnimationCallback

A callback interface for GUI.executeWithUnitOutForAnimation(net.sf.freecol.common.model.Unit, net.sf.freecol.common.model.Tile, OutForAnimationCallback).


Method Summary
 void executeWithUnitOutForAnimation(javax.swing.JLabel unitLabel)
          The code to be executed when a unit is out for animation.
 

Method Detail

executeWithUnitOutForAnimation

void executeWithUnitOutForAnimation(javax.swing.JLabel unitLabel)
The code to be executed when a unit is out for animation.

Parameters:
unitLabel - A JLabel with an image of the unit provided as a parameter to GUI.executeWithUnitOutForAnimation(net.sf.freecol.common.model.Unit, net.sf.freecol.common.model.Tile, OutForAnimationCallback).