C# Class MingStar.SimUniversity.Board.Constructor.BoardConstructor

显示文件 Open project: MingStar/SimUniversity

Public Methods

Method Description
BoardConstructor ( ) : System.Collections.Generic
SetNormalSites ( int x, int y, VertexOrientation vo, VertexOrientation vo2 ) : void
SetSpecializedSites ( int x, int y, VertexOrientation vo, VertexOrientation vo2, DegreeType degree ) : void

Protected Methods

Method Description
Lock ( ) : void
PlaceFirstHexagon ( int id, DegreeType degreeType ) : void
PlaceHexagonsEnd ( ) : void
PlaceNextHexagon ( int id, DegreeType degreeType, EdgeOrientation eo ) : void

Private Methods

Method Description
FindAllAdjacents ( ) : void

Method Details

BoardConstructor() public method

public BoardConstructor ( ) : System.Collections.Generic
return System.Collections.Generic

Lock() protected method

protected Lock ( ) : void
return void

PlaceFirstHexagon() protected method

protected PlaceFirstHexagon ( int id, DegreeType degreeType ) : void
id int
degreeType DegreeType
return void

PlaceHexagonsEnd() protected method

protected PlaceHexagonsEnd ( ) : void
return void

PlaceNextHexagon() protected method

protected PlaceNextHexagon ( int id, DegreeType degreeType, EdgeOrientation eo ) : void
id int
degreeType DegreeType
eo EdgeOrientation
return void

SetNormalSites() public method

public SetNormalSites ( int x, int y, VertexOrientation vo, VertexOrientation vo2 ) : void
x int
y int
vo VertexOrientation
vo2 VertexOrientation
return void

SetSpecializedSites() public method

public SetSpecializedSites ( int x, int y, VertexOrientation vo, VertexOrientation vo2, DegreeType degree ) : void
x int
y int
vo VertexOrientation
vo2 VertexOrientation
degree DegreeType
return void