|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gatech.cs2335.lemmings.gui.LComponent
edu.gatech.cs2335.lemmings.gui.LLeafComponent
edu.gatech.cs2335.lemmings.gui.MiniMap
Class MiniMap: Contains the minimap of a level.
Revision History:
v1.0 (Apr. 23, 2004) - Created the MiniMap class
| Constructor Summary | |
MiniMap(Level l)
Creates a new MiniMap instance. |
|
| Method Summary | |
protected void |
copy(LComponent component)
Deep-copies self into the component passed in. |
Level |
getLevel()
Get the value of level. |
protected boolean |
paint(java.awt.Graphics g)
Performs all of the necessary drawing for this control only. |
void |
setLevel(Level v)
Set the value of level. |
protected void |
updateDimensions()
Updates the bounds of the button. |
protected void |
worldToMini(java.awt.Point p)
Describe worldToMini method here. |
| Methods inherited from class edu.gatech.cs2335.lemmings.gui.LLeafComponent |
makeDirty, move, renderAll |
| Methods inherited from class edu.gatech.cs2335.lemmings.gui.LComponent |
bringToTop, cleanUp, getBounds, getParent, initialize, isActive, isComponentDirty, isShown, setBounds, setDirty, setParent, setPosition, setShown, setSize, setSize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MiniMap(Level l)
MiniMap instance.
l - a Level value| Method Detail |
public Level getLevel()
public void setLevel(Level v)
v - Value to assign to level.protected void worldToMini(java.awt.Point p)
worldToMini method here.
p - a Point valueprotected void updateDimensions()
updateDimensions in class LComponentprotected void copy(LComponent component)
copy in class LComponentcomponent - a LComponent valueprotected boolean paint(java.awt.Graphics g)
paint in class LComponentg - a Graphics value
boolean value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||