// ----------------------------------------------------------------------------------------------------------------- public CTile GetTileByOffset(CTile t, CTile.EDirection dir, int offset) { int x = 0, z = 0; t.GetTilePosXZByOffset(dir, offset, ref x, ref z); return(GetTileByPosXZ(x, z)); }