direction property

int direction
final

The current direction: 1 while forward and -1 while reversing.

Implementation

final int direction;