public void removeEntity(String name){
        for (int i=0;i<eHandler.length-1;i++){
            if (eHandler[i].getName().equals(name)){
                eHandler[i] = null;
            }
        }
    }