setDirection method

void setDirection(
  1. Axis dir
)

Implementation

void setDirection(Axis dir) {
  _direction = dir;
}