public void illuminateTarget (Entity target) {
public void illuminateTarget (HexTarget target) {
    public void illuminateTarget (Entity target) {        if (this.hasSpotlight && this.spotlightIsActive && target != null) {            if (!target.isIlluminated()) target.setIlluminated (true);            this.illuminated = true;            Coords[] in = Coords.intervening(this.getPosition(), target.getPosition());            for (int i = 0; i < in.length; i++) {                for (Enumeration e = game.getEntities(in[i]);e.hasMoreElements();) {                    Entity en = (Entity)e.nextElement();                    en.setIlluminated(true);                }            }        }    }