C# 클래스 Algorithmix.Enumeration

파일 보기 프로젝트 열기: Algorithmix/Papyrus

공개 메소드들

메소드 설명
Combination ( Match firstFit, Match secondFit ) : Match

Combines two Matches to give you an Aggregate If Both are Inverted or Noninverted it will return NonInverted; If Both are different it will return Inverted; If Either are Impossible it will return Impossible;

Opposite ( Direction direction ) : Direction

Determine the Opposite direction Left/Right are opposites as are Up and Down

Opposite ( Orientation orientation ) : Orientation

Deteremines the Opposite Orientation, that is if Regular, the opposite is reversed and vice versa

메소드 상세

Combination() 공개 정적인 메소드

Combines two Matches to give you an Aggregate If Both are Inverted or Noninverted it will return NonInverted; If Both are different it will return Inverted; If Either are Impossible it will return Impossible;
public static Combination ( Match firstFit, Match secondFit ) : Match
firstFit Match The first Match Type
secondFit Match The Second Match Type
리턴 Match

Opposite() 공개 정적인 메소드

Determine the Opposite direction Left/Right are opposites as are Up and Down
public static Opposite ( Direction direction ) : Direction
direction Direction Direction to be toggled
리턴 Direction

Opposite() 공개 정적인 메소드

Deteremines the Opposite Orientation, that is if Regular, the opposite is reversed and vice versa
public static Opposite ( Orientation orientation ) : Orientation
orientation Orientation Orientation to find opposite
리턴 Orientation