public static bool IsEastFrame( int x, int y, int z ) { StaticTile[] tiles = m_Map.Tiles.GetStaticTiles( x, y ); for ( int i = 0; i < tiles.Length; ++i ) { StaticTile tile = tiles[i]; if ( tile.Z == z && IsEastFrame( tile.ID ) ) return true; } return false; }