getDirection

Return the direction in which the piston will operate.

Return

direction of the piston