public void loadFromClips(PrimitiveValue pv) {
		try {
			this.id = pv.getFactSlot("id").toString();
			this.capacity = pv.getFactSlot("udzwig").intValue();
			this.maxCapacity = pv.getFactSlot("maxUdzwig").intValue();
			this.ax = !pv.getFactSlot("siekiera").toString().equalsIgnoreCase("nil")? pv.getFactSlot("siekiera").toString() : null;
			this.vehicle = !pv.getFactSlot("woz").toString().equalsIgnoreCase("nil")? pv.getFactSlot("woz").toString() : null;
			this.possibleMove = pv.getFactSlot("mozliwyRuch").intValue();
			this.allWoods =pv.getFactSlot("drewnoOgolem").intValue();
			
			String woodsTmp = pv.getFactSlot("scieteDrewno").toString();
			String[] woods = woodsTmp.replace("(", "").replace(")", "").split(" ");
			this.woods = new ArrayList<String>(Arrays.asList(woods));

			this.mapFrame.setId(pv.getFactSlot("idKratki").intValue());
			this.fieldOfView = pv.getFactSlot("poleWidzenia").intValue();
			this.velocity = pv.getFactSlot("predkosc").intValue();
			this.extraVelocity = pv.getFactSlot("dodatekPredkosc").intValue();
			this.energy = pv.getFactSlot("energia").intValue();
			this.energyLoss = pv.getFactSlot("strataEnergii").intValue();
			this.energyRecovery = pv.getFactSlot("odnawianieEnergii").intValue();
			this.gold = pv.getFactSlot("zloto").intValue();
			this.target = !pv.getFactSlot("cel").toString().equalsIgnoreCase("nil")? pv.getFactSlot("cel").toString() : null;
			
		} catch (Exception e) {
			e.printStackTrace();
		}

	}