|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcivquest.swing.UnitView
civquest.swing.quadmap.FlatUnitView
| Constructor Summary | |
FlatUnitView(java.awt.Image nimage,
Unit nunit,
QuadMap nmap,
Ruleset uvruleset)
|
|
| Method Summary | |
void |
activate()
|
void |
deactivate()
|
boolean |
isActive()
|
boolean |
paintOnMap(int x,
int y,
java.awt.Graphics graphics)
Paints the unit on the map using the given Graphics, starting at coordinates (x,y). |
| Methods inherited from class civquest.swing.UnitView |
getUnit, paintOnMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FlatUnitView(java.awt.Image nimage,
Unit nunit,
QuadMap nmap,
Ruleset uvruleset)
| Method Detail |
public void activate()
public void deactivate()
public boolean isActive()
public boolean paintOnMap(int x,
int y,
java.awt.Graphics graphics)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||