Primitive rotatetask implemented
direction enum switched