C# Class CityGenerator.DistrictCell

Contains road information and district information of a cell
Inheritance: Voronoi.Cell
Mostra file Open project: TobieD/City-Generator Class Usage Examples

Public Properties

Property Type Description
DistrictType string
Roads List

Public Methods

Method Description
DistrictCell ( string type ) : System.Collections.Generic
FromCell ( Cell c, string type ) : DistrictCell
ToString ( ) : string

Method Details

DistrictCell() public method

public DistrictCell ( string type ) : System.Collections.Generic
type string
return System.Collections.Generic

FromCell() public static method

public static FromCell ( Cell c, string type ) : DistrictCell
c Voronoi.Cell
type string
return DistrictCell

ToString() public method

public ToString ( ) : string
return string

Property Details

DistrictType public_oe property

public string DistrictType
return string

Roads public_oe property

public List Roads
return List