private void loadDragons() {
    	try {
            String evalString = "(find-all-facts ((?d smok)) TRUE)";
            PrimitiveValue pv1 = clipsEnv.getWorldEnv().eval(evalString);

            for (int i = 0; i < pv1.size(); i++) {
                Dragon dragonTmp = new Dragon();
                dragonTmp.loadFromClips(pv1.get(i));
               
                MapFrame mapFrame = this.getFrameById(dragonTmp.getMapFrame().getId());
                dragonTmp.setMapFrame(mapFrame);
                dragonTmp.setOpp(this.om.nowyObiektPierwszegoPlanu(mapFrame.getX(),mapFrame.getY(), dragonTmp.getId(), 1126));
    
                
                for (int k = 0; k < this.agents.size(); k++) {
                	if (this.agents.get(k).getId().equalsIgnoreCase(dragonTmp.getId())) {
                		dragonTmp.setPathToClipsFile(this.agents.get(k).getPathToClipsFile());
                		dragonTmp.setClipsResultFile(this.agents.get(k).getClipsResultFile());
                		this.agents.set(k, dragonTmp);
                		break;
                	}
                }
            }

        } catch (Exception e) {
        }
    }