net.sf.freecol.client.gui
Interface OutForAnimationCallback
public interface OutForAnimationCallback
A callback interface for MapViewer.executeWithUnitOutForAnimation(net.sf.freecol.common.model.Unit, net.sf.freecol.common.model.Tile, OutForAnimationCallback).
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
MapViewer.executeWithUnitOutForAnimation(net.sf.freecol.common.model.Unit, net.sf.freecol.common.model.Tile, OutForAnimationCallback).