Method | Description | |
---|---|---|
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
|
public static Combination ( Match firstFit, Match secondFit ) : Match | ||
firstFit | Match | The first Match Type |
secondFit | Match | The Second Match Type |
return | Match |
public static Opposite ( Direction direction ) : Direction | ||
direction | Direction | Direction to be toggled |
return | Direction |
public static Opposite ( Orientation orientation ) : Orientation | ||
orientation | Orientation | Orientation to find opposite |
return | Orientation |