final AttackSprite buff = (AttackSprite)i.nextElement();
final AttackSprite sprite = (AttackSprite)i.nextElement();
    public void addAttack(AttackAction aa) {        // one already exists, from attacker to target, use that        for (final Enumeration i = attackSprites.elements(); i.hasMoreElements();) {            final AttackSprite buff = (AttackSprite)i.nextElement();                        if (buff.getAttack().getEntityId() == aa.getEntityId()                 && buff.getAttack().getTargetId() == aa.getTargetId()) {                return;            }        }                // okay, add a new one        attackSprites.addElement(new AttackSprite(aa));    }