public TypeTester(Map map, int row, int column) { Elevations = new int[9]; Elevations[0] = map.GetTopLeft(row, column).Elevation; Elevations[1] = map.GetTop(row, column).Elevation; Elevations[2] = map.GetTopRight(row, column).Elevation; Elevations[3] = map.GetLeft(row, column).Elevation; Elevations[4] = map.Tiles[row, column].Elevation; Elevations[5] = map.GetRight(row, column).Elevation; Elevations[6] = map.GetBottomLeft(row, column).Elevation; Elevations[7] = map.GetBottom(row, column).Elevation; Elevations[8] = map.GetBottomRight(row, column).Elevation; this.NullElevation = map.NullHeight; }