|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.brackeen.javagamebook.shooter3D.HeadsUpDisplay
Constructor Summary | |
HeadsUpDisplay(Player player)
|
Method Summary | |
void |
draw(java.awt.Graphics2D g,
ViewWindow window)
Draws an overlay onto a frame. |
boolean |
isEnabled()
Returns true if this overlay is enabled (should be drawn). |
void |
update(long elapsedTime)
Updates this overlay with the specified amount of elapsed time since the last update. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HeadsUpDisplay(Player player)
Method Detail |
public void update(long elapsedTime)
Overlay
update
in interface Overlay
public void draw(java.awt.Graphics2D g, ViewWindow window)
Overlay
draw
in interface Overlay
public boolean isEnabled()
Overlay
isEnabled
in interface Overlay
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |