if(entity.hasC3() || entity.hasC3i()) addC3Link(entity);
    private void redrawAllEntities() {        Vector newSprites = new Vector(game.getNoOfEntities());        Hashtable newSpriteIds = new Hashtable(game.getNoOfEntities());                for (java.util.Enumeration i = game.getEntities(); i.hasMoreElements();) {            final Entity entity = (Entity)i.nextElement();            if (entity.getPosition() == null) continue;                        EntitySprite sprite = new EntitySprite(entity);            newSprites.add(sprite);            newSpriteIds.put(new Integer(entity.getId()), sprite);        }                entitySprites = newSprites;        entitySpriteIds = newSpriteIds;        repaint(100);    }