public static int getResourceBrickColor(int res)
	{
		switch (res)
		{
		case 1: return 106;
		case 2: return 1;

		case 10: return 23;
		case 11: return 1011;

		case 20: return 1014;
		case 21: return 194;
		case 22: return 26;

		case 30: return 21;

		case 40: return 45;

		default: 
			System.err.println("Invalid resource " + res);
			return -1;
		}
	}