civquest.swing.quadmap
Class IsoUnitView

java.lang.Object
  extended bycivquest.swing.UnitView
      extended bycivquest.swing.quadmap.IsoUnitView

public class IsoUnitView
extends civquest.swing.UnitView


Constructor Summary
IsoUnitView(java.awt.Image nimage, Unit nunit, QuadMap nmap, Ruleset uvruleset)
           
 
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
 

Constructor Detail

IsoUnitView

public IsoUnitView(java.awt.Image nimage,
                   Unit nunit,
                   QuadMap nmap,
                   Ruleset uvruleset)
Method Detail

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).