|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.freecol.client.gui.animation.UnitImageAnimation
public final class UnitImageAnimation
Class for in-place animation of units.
| Field Summary | |
|---|---|
private SimpleZippedAnimation |
animation
|
private Location |
currentLocation
|
private GUI |
gui
|
private Unit |
unit
|
| Constructor Summary | |
|---|---|
UnitImageAnimation(GUI gui,
Unit unit,
SimpleZippedAnimation animation)
Constructor |
|
| Method Summary | |
|---|---|
void |
animate()
Do the animation. |
protected java.awt.Rectangle |
getDirtyAnimationArea()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Unit unit
private final SimpleZippedAnimation animation
private final Location currentLocation
private GUI gui
| Constructor Detail |
|---|
public UnitImageAnimation(GUI gui,
Unit unit,
SimpleZippedAnimation animation)
unit - The unit to be animated.animation - The animation.| Method Detail |
|---|
public void animate()
protected java.awt.Rectangle getDirtyAnimationArea()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||