civquest.swing.quadmap
Class IsoUnitView
java.lang.Object
civquest.swing.UnitView
civquest.swing.quadmap.IsoUnitView
- public class IsoUnitView
- extends civquest.swing.UnitView
Method Summary |
void |
activate()
|
void |
deactivate()
|
java.awt.Image |
getImage()
|
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 |
IsoUnitView
public IsoUnitView(java.awt.Image nimage,
Unit nunit,
QuadMap nmap,
Ruleset uvruleset)
getImage
public java.awt.Image getImage()
activate
public void activate()
deactivate
public void deactivate()
isActive
public boolean isActive()
paintOnMap
public 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).