hud
Class UnitDisplay

java.lang.Object
  extended by hud.HZWidget
      extended by hud.UnitDisplay

public class UnitDisplay
extends HZWidget


Field Summary
 
Fields inherited from class hud.HZWidget
height, parent, visible, width, x, y
 
Constructor Summary
UnitDisplay(Player player, UnitFactory factory, HZWidget parent)
           
 
Method Summary
 void draw()
           
 java.lang.String getDisplayedUnitName()
           
 void update(float step)
           
 
Methods inherited from class hud.HZWidget
getX, getY, isVisible, onKeyPress, setGeometry, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnitDisplay

public UnitDisplay(Player player,
                   UnitFactory factory,
                   HZWidget parent)
Method Detail

getDisplayedUnitName

public java.lang.String getDisplayedUnitName()

update

public void update(float step)
Overrides:
update in class HZWidget

draw

public void draw()
Specified by:
draw in class HZWidget