public Entity findEntity(int ID, String layerName) {
        Layer L = findLayerByName(layerName);
        
        if (L != null) {
            for (Entity e : L.getEntList() ) {
                if (e.getID() == ID) {
                    System.out.println("FoundEntity");
                    return e;
                }
            }
            
            System.out.println("NoEntityFound");
            return new Entity(-1);
        }
        else {
            System.out.println("NoEntityFound");
            return new Entity(-1);
        }
    }