hud
Class HZWidget
java.lang.Object
hud.HZWidget
- Direct Known Subclasses:
- ManagerOverlay, MapDisplay, OrdersDisplay, StatusOverlay, UnitDisplay
public abstract class HZWidget
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
visible
protected boolean visible
x
protected int x
y
protected int y
width
protected int width
height
protected int height
parent
protected HZWidget parent
HZWidget
public HZWidget(HZWidget parent)
update
public void update(float timeStep)
draw
public abstract void draw()
setGeometry
public void setGeometry(int x,
int y,
int width,
int height)
getX
public int getX()
getY
public int getY()
setVisible
public void setVisible(boolean visible)
isVisible
public boolean isVisible()
onKeyPress
public void onKeyPress(HZState.HZKey key)