exposed directionOppositeOfDirection as a class method