private static TransitionType getTransition ( TransitionType a , TransitionType b , int ox , int oy ) { final TransitionType type = getTransitionHorizontalVertical ( a , b , ox , oy ) ; if ( type != null ) { return type ; } return getTransitionDiagonals ( a , b , ox , oy ) ; }
Get the new transition type from two transitions .