One- and two-body dissipation in heavy-ion collisions