entitySprites = newSprites; entitySpriteIds = newSpriteIds;
    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);    }