public virtual int getMaxInTile(int t) { int max = 0; int tmp; for (int c = 0; c < nComp; c++) { tmp = ((System.Int32) getSpec(t, c)); if (max < tmp) max = tmp; } return max; }