This default implementation changes the tile in the source and re-initializes properly component transformation variables..
public override void setTile(int x, int y) { src.setTile(x, y); tIdx = TileIdx; // index of the current tile // initializations System.String str = (System.String) cts.getTileDef(tIdx); if (str.Equals("none")) { transfType = NONE; } else if (str.Equals("rct")) { transfType = FORW_RCT; initForwRCT(); } else if (str.Equals("ict")) { transfType = FORW_ICT; initForwICT(); } else { throw new System.ArgumentException("Component transformation" + " not recognized"); } }