public void updateResearch(int[] techData, int[] upgradeData) {
		for (int i = 0; i < techData.length; i += 3) {
			int techTypeID = techData[i];
			researched[techTypeID] = (techData[i + 1] == 1);
			researching[techTypeID] = (techData[i + 2] == 1);
		}
		
		for (int i = 0; i < upgradeData.length; i += 3) {
			int upgradeTypeID = upgradeData[i];
			upgradeLevel[upgradeTypeID] = upgradeData[i + 1];
			upgrading[upgradeTypeID] = (upgradeData[i + 2] == 1);
		}
	}