C# Класс MingStar.SimUniversity.Board.Edge

Наследование: Place, IEdge
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ConnectsBothEndWithSameColorEdges ( ) : bool
Edge ( Hexagon hex, EdgeOrientation so ) : System.Collections.Generic
GetAdjacentEdgesSharedWith ( IVertex vertex ) : IEnumerable
ToString ( ) : string

Приватные методы

Метод Описание
Cache ( ) : void
FindAllAdjacents ( Board board ) : void
Reset ( ) : void
SetColor ( Color color ) : void

Описание методов

ConnectsBothEndWithSameColorEdges() публичный Метод

public ConnectsBothEndWithSameColorEdges ( ) : bool
Результат bool

Edge() публичный Метод

public Edge ( Hexagon hex, EdgeOrientation so ) : System.Collections.Generic
hex Hexagon
so EdgeOrientation
Результат System.Collections.Generic

GetAdjacentEdgesSharedWith() публичный Метод

public GetAdjacentEdgesSharedWith ( IVertex vertex ) : IEnumerable
vertex IVertex
Результат IEnumerable

ToString() публичный Метод

public ToString ( ) : string
Результат string