C# Class CityGenerator.Road

Contains generated building data and the start and end point of the road
Inheritance: Voronoi.Line
Mostra file Open project: TobieD/City-Generator Class Usage Examples

Public Properties

Property Type Description
Buildings List
ParentCell DistrictCell

Public Methods

Method Description
FromLine ( Line l ) : Road
Road ( Point start, Point end ) : System.Collections.Generic

Method Details

FromLine() public static method

public static FromLine ( Line l ) : Road
l Voronoi.Line
return Road

Road() public method

public Road ( Point start, Point end ) : System.Collections.Generic
start Voronoi.Point
end Voronoi.Point
return System.Collections.Generic

Property Details

Buildings public_oe property

public List Buildings
return List

ParentCell public_oe property

public DistrictCell,CityGenerator ParentCell
return DistrictCell