public override int getTileCompHeight(int t, int c) { if (t != TileIdx) { throw new System.InvalidOperationException( "Asking the width of a tile-component which is " + "not in the current tile (call setTile() or " + "nextTile() methods before)."); } return compH[c]; }