@Override
	public String toString() {
		StringBuffer buffer = new StringBuffer();
		buffer.append("(poslaniec ( udzwig ");
		buffer.append(this.capacity);
		buffer.append(" )"); 
		if (!this.packages.isEmpty()) {
			buffer.append(" ( paczki ");
			for (int i = 0; i < this.packages.size(); i++) {
				if (!this.packages.get(i).equals("")) {
					buffer.append(this.packages.get(i));
					buffer.append(" ");
				}
			}
			buffer.append(")");
		}
		
		if (this.deliveryTimes.length > 0) {
			buffer.append(" ( czasyDostarczenia ");
			for (int i = 0; i < this.deliveryTimes.length; i++) {
				buffer.append(this.deliveryTimes[i]);
				buffer.append(" ");
			}
			buffer.append(")");
		}
		
		if (horse != null) {
			buffer.append(" ( kon ");
			buffer.append(this.horse).append(" )");
		}
		buffer.append(" ( id ");
		buffer.append(this.id);
		buffer.append(" ) ( poleWidzenia ");
		buffer.append(this.fieldOfView);
		buffer.append(" ) ( predkosc ");
		buffer.append(this.velocity);
		buffer.append(" ) ( dodatekPredkosc ");
		buffer.append(this.extraVelocity);
		buffer.append(" ) ( energia ");
		buffer.append(this.energy);
		buffer.append(" ) ( strataEnergii ");
		buffer.append(this.energyLoss);
		buffer.append(" ) ( odnawianieEnergii ");
		buffer.append(this.energyRecovery);
		buffer.append(" ) ( dostarczonePaczki ");
		buffer.append(this.deliveredPacks);
		buffer.append(" ) ( otrzymanePaczki ");
		buffer.append(this.allPacks);
		buffer.append(" ) ( dostarczoneDoOtrzymane ");
		buffer.append(this.deliveredToAll);
		buffer.append(" ) ( sredniCzasDostarczenia ");
		buffer.append(this.meanDeliveryTime);
		buffer.append(" ) ( zloto ");
		buffer.append(this.gold);
		buffer.append(" ) ( mozliwyRuch ");
		buffer.append(this.possibleMove);
		buffer.append(" ) ( idKratki ");
		buffer.append(this.mapFrame.getId());
		if (this.target != null) {
			buffer.append(" ) ( cel ");
			buffer.append(this.target);
		}
		buffer.append(" ) )");
		return buffer.toString();
	}