redrawEntity(entity);
EntitySprite sprite = new EntitySprite(entity); newSprites.add(sprite); newSpriteIds.put(new Integer(entity.getId()), sprite);
    private void redrawAllEntities() {        entitySprites.removeAllElements();        entitySpriteIds.clear();                for (java.util.Enumeration i = game.getEntities(); i.hasMoreElements();) {            final Entity entity = (Entity)i.nextElement();            redrawEntity(entity);        }        repaint(100);    }