public void calcCosts(Player[] players) {
		for (Player player : players) {
			PlayerData quartalData = player.getData().lastElement();
			quartalData.setFixCosts(quartalData.getCapacity()*100);
			int tmp = quartalData.getQualityOfMaterial();
			if(tmp == 0)
			{
				quartalData.setVarCosts(100);
			} else if (tmp == 1) {
				quartalData.setVarCosts(110);
			} else if (tmp == 2) {
				quartalData.setVarCosts(120);
			}
			
			double tmpCosts = quartalData.getFixCosts() + quartalData.getVarCosts()*quartalData.getAirplanes();
			player.spendMoney(tmpCosts);
			double interests = calcInterestCosts(player);
			player.spendMoney(interests);
			quartalData.setCosts(tmpCosts + interests);
		}
	}