Entity entity = (Entity) entities.get(i);
Entity entity = (Entity) entities.elementAt(i);
    protected void initFiring() {        java.util.Vector entities = game.getEntitiesVector();        for (int i = 0; i < entities.size(); i++) {            Entity entity = (Entity) entities.get(i);            CEntity centity = centities.get(entity);            centity.reset();            centity.enemy_num = i;        }        for (Iterator i = this.getEnemyEntities().iterator(); i.hasNext();) {            Entity entity = (Entity) i.next();            CEntity centity = centities.get(entity);            if (entity.isMakingDfa() || entity.isCharging()) {                //try to prevent a physical attack from happening                //but should take into account the toHit of the attack                centity.strategy.target = 2.5;            }        }    }