C# Class MingStar.SimUniversity.Board.Edge

Inheritance: Place, IEdge
Afficher le fichier Open project: MingStar/SimUniversity Class Usage Examples

Méthodes publiques

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

Private Methods

Méthode Description
Cache ( ) : void
FindAllAdjacents ( Board board ) : void
Reset ( ) : void
SetColor ( Color color ) : void

Method Details

ConnectsBothEndWithSameColorEdges() public méthode

public ConnectsBothEndWithSameColorEdges ( ) : bool
Résultat bool

Edge() public méthode

public Edge ( Hexagon hex, EdgeOrientation so ) : System.Collections.Generic
hex Hexagon
so EdgeOrientation
Résultat System.Collections.Generic

GetAdjacentEdgesSharedWith() public méthode

public GetAdjacentEdgesSharedWith ( IVertex vertex ) : IEnumerable
vertex IVertex
Résultat IEnumerable

ToString() public méthode

public ToString ( ) : string
Résultat string