C# Class MingStar.SimUniversity.Board.Edge

Inheritance: Place, IEdge
Mostrar archivo Open project: MingStar/SimUniversity Class Usage Examples

Public Methods

Method Description
ConnectsBothEndWithSameColorEdges ( ) : bool
Edge ( Hexagon hex, EdgeOrientation so ) : System.Collections.Generic
GetAdjacentEdgesSharedWith ( IVertex vertex ) : IEnumerable
ToString ( ) : string

Private Methods

Method Description
Cache ( ) : void
FindAllAdjacents ( Board board ) : void
Reset ( ) : void
SetColor ( Color color ) : void

Method Details

ConnectsBothEndWithSameColorEdges() public method

public ConnectsBothEndWithSameColorEdges ( ) : bool
return bool

Edge() public method

public Edge ( Hexagon hex, EdgeOrientation so ) : System.Collections.Generic
hex Hexagon
so EdgeOrientation
return System.Collections.Generic

GetAdjacentEdgesSharedWith() public method

public GetAdjacentEdgesSharedWith ( IVertex vertex ) : IEnumerable
vertex IVertex
return IEnumerable

ToString() public method

public ToString ( ) : string
return string