public override int getTileCompWidth(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 compW[c]; }