Coords[] in = Coords.intervening(apos, tpos); for (int i = 0; i < in.length; i++) { for (Enumeration e = game.getEntities(in[i]);e.hasMoreElements();) {
ArrayList<Coords> in = Coords.intervening(apos, tpos); for (Coords c : in) { for (Enumeration e = game.getEntities(c);e.hasMoreElements();) {
    public boolean willIlluminate (IGame game, Entity who) {        if(!isPossible(game))            return false;        final Entity attacker = getEntity(game);        final Coords apos = attacker.getPosition();        final Targetable target = getTarget(game);        final Coords tpos = target.getPosition();        Coords[] in = Coords.intervening(apos, tpos); //nb includes attacker & target        for (int i = 0; i < in.length; i++) {            for (Enumeration e = game.getEntities(in[i]);e.hasMoreElements();) {                Entity en = (Entity)e.nextElement();                LosEffects los = LosEffects.calculateLos(game,getEntityId(),en);                if(los.canSee() && en.equals(who))                    return true;            }        }        return false;    }