Slip rings are just acting as an electric contacts with the brushes, enabling the generator to rotate.
The direction of the current changes each 180 degrees because the orientation of the coil changes, so the direction of the flux reverses with respect to the coil.
As the coil rotates, the...