|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSpriteGroup
vooga.engine.overlay.OverlayPanel
public class OverlayPanel
The OverlayPanel provides a convenient way for users to evenly place overlays across the top or bottom of the screen. About 3 overlays or less is recommended since OverlayPanel does not take measures to prevent overlapping.
Constructor Summary | |
---|---|
OverlayPanel(java.lang.String name,
Game game,
boolean topOrBottom)
Constructs the initial panel with a given world, and establishing its position on the top or bottom. |
Method Summary | |
---|---|
void |
initialize()
This sets up the panel by calculating important values in the OverlayPanel regarding spacing of the Overlays and it also places the OverlayPanel into the world. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OverlayPanel(java.lang.String name, Game game, boolean topOrBottom)
game
- topOrBottom
- Method Detail |
---|
public void initialize()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |