C# 클래스 MingStar.SimUniversity.Board.Edge

상속: Place, IEdge
파일 보기 프로젝트 열기: MingStar/SimUniversity 1 사용 예제들

공개 메소드들

메소드 설명
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